You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a simple class whe extend \ArrayObjec e.g. class Param extends \ArrayObject {}
and after create a class who inject thi class in his l'une de ces method. class Bug { public function test(Param $param) { } }
If we try to fdo a reflection with this class/method we git this error
Current behavior
We got the error:
Call to undefined method ReflectionUnionType::isBuiltin()#0
How to reproduce
Create a simple class that extends the \ArrayObject class, eg:
class Param extends \ArrayObject {}
and then you have to create a class that injects this class in one of its methods, eg:
class Bug { public function test(Param $param) { } }
And then you have to try to do a reflection with this class/method using Laminas Reflection
Bug Report
Summary
Create a simple class whe extend \ArrayObjec e.g.
class Param extends \ArrayObject {}
and after create a class who inject thi class in his l'une de ces method.
class Bug { public function test(Param $param) { } }
If we try to fdo a reflection with this class/method we git this error
Current behavior
We got the error:
Call to undefined method ReflectionUnionType::isBuiltin()#0
How to reproduce
Create a simple class that extends the \ArrayObject class, eg:
class Param extends \ArrayObject {}
and then you have to create a class that injects this class in one of its methods, eg:
class Bug { public function test(Param $param) { } }
And then you have to try to do a reflection with this class/method using Laminas Reflection
see here magento/magento2#35448
The text was updated successfully, but these errors were encountered: