mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-24 20:58:31 +00:00
Fix deprecation notice League/csv for createFromStream and createFromPath replaced by new from() method
This commit is contained in:
@@ -47,7 +47,7 @@ class PostalCodeFRFromOpenData
|
||||
|
||||
fseek($tmpfile, 0);
|
||||
|
||||
$csv = Reader::createFromStream($tmpfile);
|
||||
$csv = Reader::from($tmpfile);
|
||||
$csv->setDelimiter(',');
|
||||
$csv->setHeaderOffset(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user