public function getPropertyClass(\ReflectionProperty $property) : ?string
    {
        $types = $this->getPropertyTypes($property);

        if (count($types) === 1) {
            $type = $types[0];

            if ($type[0] === '\\') {
                return substr($type, 1);
            }
        }

        return null;
    }
public function getPropertyClass(\ReflectionProperty $property) : ?string
    {
        $types = $this->getPropertyTypes($property);

        if (count($types) === 1) {
            $type = $types[0];

            if ($type[0] === '\\') {
                return substr($type, 1);
            }
        }

        return null;
    }
public function getPropertyClass ( \ ReflectionProperty $ property ) : ? string { $ types = $ this -> getPropertyTypes ( $ property ) ; if ( count ( $ types ) === 1 ) { $ type = $ types [ 0 ] ; if ( $ type [ 0 ] === '\\' ) { return substr ( $ type , 1 ) ; } } return null ; }
Returns the fully qualified class name documented for the given property.

@param \ReflectionProperty $property

@return string|null The class name, or null if not available.
Returns the fully qualified class name documented for the given property .