-
-
Notifications
You must be signed in to change notification settings - Fork 929
Closed
Description
Bug report
PHPstan seems to incorrectly narrow type after if (empty(...)).
Code snippet that reproduces the problem
https://phpstan.org/r/0554aa13-e165-4f18-b512-059cf0ab243e
Expected output
Dumped type should remain array<mixed>
even after the if test (which may result false).
Did PHPStan help you today? Did it make you happy in any way?
No response
Metadata
Metadata
Assignees
Labels
No labels