Skip to content

Commit

Permalink
Merge branch 'main' of github.com:vormkracht10/filament-media-picker
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Dec 1, 2024
2 parents 2a1f8fb + 4cc0f7b commit af17bb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/MediaResource/CreateMedia.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Vormkracht10\MediaPicker\Resources\MediaResource;

use Filament\Facades\Filament;
use Filament\Resources\Pages\CreateRecord;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Storage;
use Filament\Resources\Pages\CreateRecord;
use Vormkracht10\MediaPicker\Models\Media;
use Vormkracht10\MediaPicker\MediaPickerPlugin;
use Vormkracht10\MediaPicker\Models\Media;

class CreateMedia extends CreateRecord
{
Expand Down Expand Up @@ -73,4 +73,4 @@ protected function handleRecordCreation(array $data): Model
return $first;

Check failure on line 73 in src/Resources/MediaResource/CreateMedia.php

View workflow job for this annotation

GitHub Actions / phpstan

Variable $first might not be defined.
// return static::getModel()::create($data);
}
}
}

0 comments on commit af17bb1

Please sign in to comment.