Method ReflectionParameter::getClass() is deprecated