Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scan.php #4

Open
AntoninSlejska opened this issue May 18, 2015 · 3 comments
Open

scan.php #4

AntoninSlejska opened this issue May 18, 2015 · 3 comments

Comments

@AntoninSlejska
Copy link

Hello,
the scan.php (Ch. 4) did not work by me. I had to change the code as following:

<?php
require 'vendor/autoload.php';
use League\Csv\Reader;
$client = new \GuzzleHttp\Client();
$csv = Reader::createFromPath($argv[1]);
...

Cheers,
Antonin

@bleen
Copy link

bleen commented May 22, 2015

I saw the same ... to fix I just changed to this:

$csv = \League\Csv\Reader::createFromPath($argv[1]);

@zhangyongyu
Copy link

Thank you @bleen !

@igithub14
Copy link

Thank you @AntoninSlejska

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants