mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-04 04:59:41 +00:00
Fix deprecation notice League/csv for createFromStream and createFromPath replaced by new from() method
This commit is contained in:
@@ -52,7 +52,7 @@ class ThirdpartyCSVExportController extends AbstractController
|
||||
fwrite($output, "\xEF\xBB\xBF");
|
||||
|
||||
// Create CSV writer
|
||||
$csv = Writer::createFromStream($output);
|
||||
$csv = Writer::from($output);
|
||||
|
||||
// Write header row
|
||||
$header = array_map(
|
||||
|
||||
Reference in New Issue
Block a user