Skip to content
Unverified Commit ace74ef8 authored by Daniel Kesselberg's avatar Daniel Kesselberg
Browse files

Fix ReflectionType::__toString() is deprecated

As of PHP 7.1.0, ReflectionType::__toString() is deprecated, and ReflectionParameter::getType() may return an instance of ReflectionNamedType. To get the name of the parameter type, ReflectionNamedType() is available in this case.

https://www.php.net/manual/en/reflectionparameter.gettype.php


Signed-off-by: default avatarDaniel Kesselberg <mail@danielkesselberg.de>
parent 9d6a58e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment