Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
StyleCIBot committed Aug 19, 2024
1 parent bd95c9a commit 0381d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Imports/ModelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ private function singleFlush(ToModel $import)

return;
} elseif ($import instanceof WithSkipDuplicates) {
$model::query()->insertOrIgnore([ $model->getAttributes() ]);
$model::query()->insertOrIgnore([$model->getAttributes()]);

return;
}

Expand Down
1 change: 0 additions & 1 deletion tests/Concerns/WithSkipDuplicatesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Maatwebsite\Excel\Tests\Concerns;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use Maatwebsite\Excel\Concerns\Importable;
Expand Down

0 comments on commit 0381d02

Please sign in to comment.