Closed hostep closed 10 months ago
This probably got fixed in https://github.com/NVision-Commerce-Solutions/module-customer-price/pull/38, but no new version (1.7.2) got tagged in git yet ....
And 1.7.2 was just released, confirmed that phpstan no longer complains on this. Thanks guys!
now it's tagged. you're just too fast :) Thanks
Reported by phpstan on version 1.5.0 of module-customer-price:
If we take a look at the execute method, it's currently guaranteed to return an array and never
null
. So the condition here, will never return$result
. Is that the expectation?