Fix `ReflectionParameter::isCallable` and `ReflectionParameter::isArray` deprecations
Fix `ReflectionParameter::isCallable` and `ReflectionParameter::isArray` deprecations

`ReflectionParameter::isCallable()` and `ReflectionParameter::isArray()` are [deprecated in PHP 8](https://php.watch/versions/8.0/deprecated-reflectionparameter-methods).
They are now replaced with `ReflectionParameter::getType()` calls.

phpspec/prophecy