mirror of
https://github.com/archtechx/laravel-seo.git
synced 2026-05-06 09:44:03 +00:00
phpstan fixes
This commit is contained in:
parent
ba5ea8971c
commit
c6c1cbbc4a
1 changed files with 4 additions and 4 deletions
|
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue