protected createPropertyDoc ( Joli\Jane\Guesser\Guess\Type $type ) : PhpParser\Comment\Doc | ||
$type | Joli\Jane\Guesser\Guess\Type | |
Résultat | PhpParser\Comment\Doc |
protected function createPropertyDoc(Type $type)
{
return new Doc(sprintf(<<<EOD
/**
* @var %s
*/
EOD
, $type->__toString()));
}