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
I was running psalm on a project after modifying some apis to return intersection types with traversable and got an error of the form: Uncaught InvalidArgumentException: Could not get class storage for traversable in blablabla.
Maybe it is normal, I don't know. I find it strange since it is exactly one of the advertised usecases of this php feature.
Psalm encountered an internal error:
/vendor/vimeo/psalm/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php: Could not get class storage for traversable
I was running psalm on a project after modifying some apis to return intersection types with traversable and got an error of the form:
Uncaught InvalidArgumentException: Could not get class storage for traversable in blablabla
.Maybe it is normal, I don't know. I find it strange since it is exactly one of the advertised usecases of this php feature.
I reproduced it here:
https://psalm.dev/r/17aef64aef
Is this a bug or something I missed ?
The text was updated successfully, but these errors were encountered: