Skip to content

Fix styling

Fix styling #247

Triggered via push July 15, 2024 09:01
Status Failure
Total duration 31s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 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), 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<TKey of (int|string), TModel of Spatie\MediaLibrary\MediaCollections\Models\Media>|iterable<TKey of (int|string), TModel of Spatie\MediaLibrary\MediaCollections\Models\Media>|null, array<TKey of (int|string), TModel of Illuminate\Database\Eloquent\Model> given.
phpstan: src/MediaCollections/Models/Media.php#L473
Parameter #1 $related of method Illuminate\Database\Eloquent\Model::belongsTo() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
phpstan
Process completed with exit code 1.