src/PhpToZephir/Converter/Printer/ParamPrinter.php
public function convert(Node\Param $node)
    {
        if ($node->byRef) {
            $this->logger->logIncompatibility(
                'reference',
                'Reference not supported',
                $node,
                $this->dispatcher->getMetadata()->getClass()
            );
        }

        return ($node->type ? (is_string($node->type) ? $node->type : $this->dispatcher->p($node->type)).' ' : '')
             .($node->variadic ? '... ' : '')
             .''.$node->name
             .($node->default ? ' = '.$this->dispatcher->p($node->default) : '').'';
    }
public function convert(Node\Param $node)
    {
        if ($node->byRef) {
            $this->logger->logIncompatibility(
                'reference',
                'Reference not supported',
                $node,
                $this->dispatcher->getMetadata()->getClass()
            );
        }

        return ($node->type ? (is_string($node->type) ? $node->type : $this->dispatcher->p($node->type)).' ' : '')
             .($node->variadic ? '... ' : '')
             .''.$node->name
             .($node->default ? ' = '.$this->dispatcher->p($node->default) : '').'';
    }
@param Node\Param $node

@return string