Skip to content

Commit

Permalink
Merge pull request #484 from luckydonald/patch-1
Browse files Browse the repository at this point in the history
Docs: Fixed `Reader::BOM_UTF8` to `ByteSequence::BOM_UTF8`
  • Loading branch information
nyamsprod authored Feb 25, 2023
2 parents 0503d87 + 9e75cef commit 31da3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/9.0/connections/bom.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public AbstractCsv::getOutputBOM(void): string
use League\Csv\Reader;

$csv = Reader::createFromPath('/path/to/file.csv', 'r');
$csv->setOutputBOM(Reader::BOM_UTF8);
$csv->setOutputBOM(ByteSequence::BOM_UTF8);
$bom = $csv->getOutputBOM(); //returns "\xEF\xBB\xBF"
```

Expand Down

0 comments on commit 31da3d3

Please sign in to comment.