src/PhpToZephir/TypeFinder.php
private function nodeToDocBlock(ClassMethod $node)
    {
        $attribute = $node->getAttributes();

        if (isset($attribute['comments']) === false || isset($attribute['comments'][0]) === false) {
            return;
        }

        $docBlock = $attribute['comments'][0]->getText();

        return new DocBlock($docBlock);
    }
private function nodeToDocBlock(ClassMethod $node)
    {
        $attribute = $node->getAttributes();

        if (isset($attribute['comments']) === false || isset($attribute['comments'][0]) === false) {
            return;
        }

        $docBlock = $attribute['comments'][0]->getText();

        return new DocBlock($docBlock);
    }
@param ClassMethod $node

@return NULL|\phpDocumentor\Reflection\DocBlock