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
Psalm output (using commit 147505c):
ERROR: NullableReturnStatement - 23:16 - The declared return type 'RecursiveFoos' for RecursiveFoos::getChildren is not nullable, but the function returns 'RecursiveFoos|null'
ERROR: InvalidNullableReturnType - 20:36 - The declared return type 'RecursiveFoos' for RecursiveFoos::getChildren is not nullable, but 'RecursiveFoos|null' contains null
The docs for RecursiveIterator and stubs in PHP source specify the return value of
getChildren()
as?RecursiveIterator
, while psalm complains in case ofnull
return value:https://psalm.dev/r/602a63575d
The text was updated successfully, but these errors were encountered: