src/AnnotationProcessor/PropertyInformation.php
public function setTypeHint(string $type_hint): self
    {
        $this->type_hint = $this->validateType($type_hint);

        return $this;
    }
public function setTypeHint(string $type_hint): self
    {
        $this->type_hint = $this->validateType($type_hint);

        return $this;
    }
public function setTypeHint ( string $ type_hint ) : self { $ this -> type_hint = $ this -> validateType ( $ type_hint ) ; return $ this ; }
Manually set the type hint for this property
The type hint must be a valid class name starting
with \ or a capital letter or one of the set returned
by getValidTypes.

Only use this method if you are not pleased
by the automatic type hint that was already
set by the setType method.

@see http://php.net/manual/en/language.types.php

@param string $type_hint

@throws \DomainException
@throws \InvalidArgumentException
@return PropertyInformation
Manually set the type hint for this property The type hint must be a valid class name starting with \ or a capital letter or one of the set returned by getValidTypes .