I was integrating PHPStan into my project and encountered that the generated helper classes copy the phpdoc blocks without fixing the imported classes, which makes PHPStan unable to understand which types they are referencing.
This fix adds an FQN for all public methods. I tested this change on my project and it solved the problem. I think this change will be useful for the whole community :)
I was integrating PHPStan into my project and encountered that the generated helper classes copy the phpdoc blocks without fixing the imported classes, which makes PHPStan unable to understand which types they are referencing.
This fix adds an FQN for all public methods. I tested this change on my project and it solved the problem. I think this change will be useful for the whole community :)