public getDocBlockTypeStrings ( ) : string[] | ||
return | string[] |
public function getDocBlockTypeStrings()
{
$stringTypes = [];
foreach ($this->getDocBlockTypes() as $type) {
$stringTypes[] = (string) $type;
}
return $stringTypes;
}
/** * @return string */ public function getHints() { $hints = $this->reflectionParameter->getDocBlockTypeStrings(); $hints[] = $this->reflectionParameter->getTypeHint(); $hints = array_filter($hints, 'strlen'); return implode('|', $hints); }