ReflectionTypeConstant::getAssignedTypeText

Get the type assigned to this type constant as a string

public function getAssignedTypeText(): ?string;

Returns

  • NULL - | string The assigned type or null if is abstract