Closed xepozz closed 3 months ago
Could you add a test case?
@roxblnfk @samdark What does tests you ask about? Already exists many tests of Injector::invoke()
: https://github.com/yiisoft/injector/blob/master/tests/Common/InjectorTest.php
@vjik these are about trace improvements.
Reflections and other internal functions don't provide necessary information such as
line
orfile
if they're used during trace. So changing callable call to a regular$callable(...$args)
solves this. There're proves:Current version
Fixed version