Open oleg-andreyev opened 2 years ago
I found these snippets:
Also, for the example the instanceof Product
and instanceof Category
should be marked as redundant since $entity
is known to be a Channel
.
Also, for the example the
instanceof Product
andinstanceof Category
should be marked as redundant since$entity
is known to be aChannel
.
but $entity could be Product or Category. in that case issue is different https://psalm.dev/r/1c37515a7b
Looks like it's the multiple conditions with the ,
causing the issue then: https://psalm.dev/r/808176fcf6
I found these snippets:
psalm does not take into account "match" condition.
https://psalm.dev/r/5c4581018e