src/PhpToZephir/Converter/Printer/Stmt/ClassMethodPrinter.php
private function hasReturnStatement($nodes)
    {
        foreach ($this->nodeFetcher->foreachNodes($nodes) as $nodeData) {
            $node = $nodeData['node'];
            if ($node instanceof Stmt\Return_) {
                return true;
            }
        }

        return false;
    }
private function hasReturnStatement($nodes)
    {
        foreach ($this->nodeFetcher->foreachNodes($nodes) as $nodeData) {
            $node = $nodeData['node'];
            if ($node instanceof Stmt\Return_) {
                return true;
            }
        }

        return false;
    }
private function hasReturnStatement ( $ nodes ) { foreach ( $ this -> nodeFetcher -> foreachNodes ( $ nodes ) as $ nodeData ) { $ node = $ nodeData [ 'node' ] ; if ( $ node instanceof Stmt \ Return_ ) { return true ; } } return false ; }
@param Stmt\ClassMethod $nodes

@return bool
@param Stmt \ ClassMethod $nodes