fix import player, new columns remove telescope, consider emty vars in PlayerDataMerge
This commit is contained in:
1 parent
43013d3eec
commit
bef576616f
14 files changed
+553
-1437
No files matched your search
@@ -7,6 +7,8 @@ use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\LazyCollection;
|
||||
use Spatie\SimpleExcel\SimpleExcelReader;
|
||||
|
||||
use function PHPUnit\Framework\isEmpty;
|
||||
|
||||
class ImportFixtures
|
||||
{
|
||||
public static function run(string $filePath): void
|
||||
@@ -20,6 +22,10 @@ class ImportFixtures
|
||||
|
||||
$row = array_values($row);
|
||||
|
||||
if (isEmpty($row[1])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
0 => 1
|
||||
1 => 87
|
||||
|
||||
Reference in new issue
Block a user