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
The result type is an UnionType of 'integer'|'string', the $argumentType is a ConstantStringType 'integer', I think the isSuperTypeOf() should return maybe instead of yes
Bug report
Please check the code snippet for the detail
Code snippet that reproduces the problem
https://phpstan.org/r/2469d3b4-efd8-4ca3-9d2f-b094ad5159e1
Expected output
Should not have any error.
The text was updated successfully, but these errors were encountered: