Skip to content

Commit

Permalink
Fix missing fopen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mermshaus committed Mar 17, 2017
1 parent 1be62f1 commit 154d618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -45,7 +45,7 @@ Read all CSV rows from a stream into a numeric array. This is also a general usa
~~~ php
use Kaloa\Filesystem\CsvReader;

$stream = fopen(__DIR__ . '/file.csv');
$stream = fopen(__DIR__ . '/file.csv', 'rb');

$csvReader = new CsvReader($stream);
$data = $csvReader->fetchAll();
Expand Down

0 comments on commit 154d618

Please sign in to comment.