src/PhpToZephir/TypeFinder.php
private function foundTypeInCommentForVar(DocBlock $phpdoc, Param $param, ClassMetadata $classMetadata)
    {
        foreach ($phpdoc->getTags() as $tag) {
            if ($tag instanceof \phpDocumentor\Reflection\DocBlock\Tag\ParamTag) {
                if ($param->name === substr($tag->getVariableName(), 1)) {
                    if (!empty($tag->getType())) {
                        return $this->findType($tag, $param, $classMetadata);
                    }
                }
            }
        }

        return; 
    }
private function foundTypeInCommentForVar(DocBlock $phpdoc, Param $param, ClassMetadata $classMetadata)
    {
        foreach ($phpdoc->getTags() as $tag) {
            if ($tag instanceof \phpDocumentor\Reflection\DocBlock\Tag\ParamTag) {
                if ($param->name === substr($tag->getVariableName(), 1)) {
                    if (!empty($tag->getType())) {
                        return $this->findType($tag, $param, $classMetadata);
                    }
                }
            }
        }

        return; 
    }
private function foundTypeInCommentForVar ( DocBlock $ phpdoc , Param $ param , ClassMetadata $ classMetadata ) { foreach ( $ phpdoc -> getTags ( ) as $ tag ) { if ( $ tag instanceof \ phpDocumentor \ Reflection \ DocBlock \ Tag \ ParamTag ) { if ( $ param -> name === substr ( $ tag -> getVariableName ( ) , 1 ) ) { if ( ! empty ( $ tag -> getType ( ) ) ) { return $ this -> findType ( $ tag , $ param , $ classMetadata ) ; } } } } return ; }
@param DocBlock $phpdoc
@param Param    $param
@param string   $actualNamespace
@param array    $use
@param array    $classes

@return null|array
@param DocBlock $phpdoc @param Param $param @param string $actualNamespace @param array $use @param array $classes