1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2026-05-06 17:54:03 +00:00

phpstan fixes

This commit is contained in:
Samuel Stancl 2026-03-31 03:44:19 +02:00
parent ba5ea8971c
commit c6c1cbbc4a
No known key found for this signature in database
GPG key ID: BA146259A1E16C57

View file

@ -60,14 +60,14 @@ class GenerateFaviconsCommand extends Command
$manager = new ImageManager(['driver' => 'imagick']); // @phpstan-ignore argument.type $manager = new ImageManager(['driver' => 'imagick']); // @phpstan-ignore argument.type
$this->comment('Generating ico...'); $this->comment('Generating ico...');
$manager // @phpstan-ignore method.notFound $manager
->make($path) ->make($path) // @phpstan-ignore method.notFound
->resize(32, 32) ->resize(32, 32)
->save(public_path('favicon.ico')); ->save(public_path('favicon.ico'));
$this->comment('Generating png...'); $this->comment('Generating png...');
$manager // @phpstan-ignore method.notFound $manager
->make($path) ->make($path) // @phpstan-ignore method.notFound
->resize(32, 32) ->resize(32, 32)
->save(public_path('favicon.png')); ->save(public_path('favicon.png'));
} }