ReflectionParameter::hasType

( excerpt from http://php

public function hasType(): bool;

net/manual/en/reflectionparameter.hastype.php )

Checks if the parameter has a type associated with it.

Return Values

  • bool - TRUE if a type is specified, FALSE otherwise.