packages/Sensio/src/Rector/FrameworkExtraBundle/TemplateAnnotationRector.php
private function resolveArgumentsFromMethodCall(Return_ $returnNode): array
    {
        $arguments = [];
        if ($returnNode->expr instanceof MethodCall) {
            foreach ($returnNode->expr->args as $arg) {
                if ($arg->value instanceof Array_) {
                    $arguments[] = $arg->value;
                }
            }
        }

        return $arguments;
    }
private function resolveArgumentsFromMethodCall(Return_ $returnNode): array
    {
        $arguments = [];
        if ($returnNode->expr instanceof MethodCall) {
            foreach ($returnNode->expr->args as $arg) {
                if ($arg->value instanceof Array_) {
                    $arguments[] = $arg->value;
                }
            }
        }

        return $arguments;
    }
private function resolveArgumentsFromMethodCall ( Return_ $ returnNode ) : array { $ arguments = [ ] ; if ( $ returnNode -> expr instanceof MethodCall ) { foreach ( $ returnNode -> expr -> args as $ arg ) { if ( $ arg -> value instanceof Array_ ) { $ arguments [ ] = $ arg -> value ; } } } return $ arguments ; }
Already existing method call
@return mixed[]
Already existing method call