fix failed to error

This commit is contained in:
Nabeel Shahzad
2018-03-23 10:37:34 -05:00
parent 182cb2d33b
commit c6f423087d
4 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ class ImportCsv extends Command
/**
* @return mixed|void
* @throws \League\Csv\Exception
* @throws \Illuminate\Validation\ValidationException
*/
public function handle()
{
@@ -52,7 +52,7 @@ class ImportCsv extends Command
$this->info($line);
}
foreach ($status['failed'] as $line) {
foreach ($status['errors'] as $line) {
$this->error($line);
}
}