Ignore phpstan error [skip ci]

This commit is contained in:
James Cole 2024-03-05 19:39:20 +01:00
parent 3a339382d4
commit 0ce9ee6a6c
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -71,7 +71,7 @@ abstract class Controller extends BaseController
// overrule v2 layout back to v1. // overrule v2 layout back to v1.
if ('true' === request()->get('force_default_layout') && 'v2' === config('firefly.layout')) { if ('true' === request()->get('force_default_layout') && 'v2' === config('firefly.layout')) {
app('view')->getFinder()->setPaths([realpath(base_path('resources/views'))]); app('view')->getFinder()->setPaths([realpath(base_path('resources/views'))]); // @phpstan-ignore-line
} }
app('view')->share('authGuard', $authGuard); app('view')->share('authGuard', $authGuard);