Closed WouterSioen closed 4 years ago
FYI: you can use the undocumented getName
method instead of casting to a string. See https://www.php.net/manual/en/class.reflectiontype.php#124658
Thanks for fixing!
No prob, weird that ci didn't pick this up if it has been deprecated since 7.1, in any case the fix was released on v0.6.2
Description:
The Generator tries to call __toString()` on a ReflectionType which is deprecated since PHP7.1.
https://www.php.net/manual/en/reflectiontype.tostring.php
This means that you get an error when error reporting for deprecations is on.