Skip to content

Commit

Permalink
Merge branch 'master' of github.com:codedor/filament-redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkidn committed Sep 19, 2023
2 parents 262d230 + 9779def commit 8665601
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/Filament/RedirectResource/Pages/ManageRedirects.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Codedor\FilamentRedirects\Imports\RedirectsImport;
use Filament\Actions;
use Filament\Actions\Action;
use Filament\Forms\Components\Checkbox;
use Filament\Forms\Components\FileUpload;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\ManageRecords;
Expand Down
5 changes: 1 addition & 4 deletions src/Imports/RedirectsImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@
use Codedor\FilamentRedirects\Models\Redirect;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
use Maatwebsite\Excel\Concerns\SkipsUnknownSheets;
use Maatwebsite\Excel\Concerns\ToCollection;
use Maatwebsite\Excel\Concerns\WithBatchInserts;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
use Maatwebsite\Excel\Imports\HeadingRowFormatter;

class RedirectsImport implements ToCollection, WithHeadingRow, WithBatchInserts
class RedirectsImport implements ToCollection, WithBatchInserts, WithHeadingRow
{
private int $defaultStatus;

Expand Down

0 comments on commit 8665601

Please sign in to comment.