Closed rossriley closed 9 months ago
Just in case Coding Standards / Coding Standards (7.2) (pull_request)
- fails also on master, so it will be fixed in separate PR :)
Could you also add some test to make sure that this logic will be not lost in the future?
Best, scyzoryck.
@dgafka can you please have look here?
@rossriley could you please add a test?
Ye, looks like an edge case with fine fix :)
Fix for issue described in #1512 all this does is rearrange the resolution logic so when a type is described as eg:
The resolution order now will be:
Product
use
statements and look for a class defined asNamespace\Example\Product
\Product
Currently steps 1 and 3 are reversed and that effectively means that a precisely defined class is ignored in favour of a more loosely specified one.