Correctly remove media folders after removing all media files (#3688) #260
Annotations
4 errors
phpstan:
src/Conversions/ImageGenerators/Pdf.php#L22
Call to an undefined method Spatie\PdfToImage\Pdf::setPage().
|
phpstan:
src/MediaCollections/Models/Media.php#L87
Return type (Spatie\MediaLibrary\MediaCollections\Models\Collections\MediaCollection) of method Spatie\MediaLibrary\MediaCollections\Models\Media::newCollection() should be compatible with return type (Illuminate\Database\Eloquent\Collection<(int|string), static(Illuminate\Database\Eloquent\Model)>) of method Illuminate\Database\Eloquent\Model::newCollection()
|
phpstan:
src/MediaCollections/Models/Media.php#L89
Parameter #1 $items of class Spatie\MediaLibrary\MediaCollections\Models\Collections\MediaCollection constructor expects Illuminate\Contracts\Support\Arrayable<(int|string), TModel of Spatie\MediaLibrary\MediaCollections\Models\Media>|iterable<(int|string), TModel of Spatie\MediaLibrary\MediaCollections\Models\Media>|null, array<Illuminate\Database\Eloquent\Model> given.
|
phpstan
Process completed with exit code 1.
|