You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPStan generates this warning for the given code:
Parameter #1 $view of function view expects view-string|null, string given.
The definition of the Laravel view() function describes the first parameter as string|null. The warning says it should be of type view-string|null. I do not understand why passing a string is not valid here.
--level
used: 9Description
PHPStan generates this warning for the given code:
The definition of the Laravel
view()
function describes the first parameter asstring|null
. The warning says it should be of typeview-string|null
. I do not understand why passing astring
is not valid here.Laravel code where the issue was found
The text was updated successfully, but these errors were encountered: