diff --git a/docs/9.0/connections/bom.md b/docs/9.0/connections/bom.md index e40ab5ae..c5e24f7e 100644 --- a/docs/9.0/connections/bom.md +++ b/docs/9.0/connections/bom.md @@ -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" ```