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
test.php:16 PhanTypeMissingReturn Method \ChildClass::fatalError is declared to return never in phpdoc but has no return value
Like for the other issue, fatalError needs to be reanalyzed (hence the parameter without documented types), and AddNeverReturnTypePlugin must be enabled.
The text was updated successfully, but these errors were encountered:
The check was wrong and should have been checking for never returning.
Return statements can be omitted if a function unconditionally exits.
Closesphan#4537
The check was wrong and should have been checking for never returning.
Return statements can be omitted if a function unconditionally exits.
Closesphan#4537
The check was wrong and should have been checking for never returning.
Return statements can be omitted if a function unconditionally exits.
Closesphan#4537
Very similar to #4536. The snippet for this one is
Like for the other issue, fatalError needs to be reanalyzed (hence the parameter without documented types), and AddNeverReturnTypePlugin must be enabled.
The text was updated successfully, but these errors were encountered: