src/Language/Parser.php
private function parseInputFieldsDefinition()
    {
        return $this->peek(Token::BRACE_L)
            ? $this->many(
                Token::BRACE_L,
                function () {
                    return $this->parseInputValueDef();
                },
                Token::BRACE_R
            )
            : new NodeList([]);
    }
private function parseInputFieldsDefinition()
    {
        return $this->peek(Token::BRACE_L)
            ? $this->many(
                Token::BRACE_L,
                function () {
                    return $this->parseInputValueDef();
                },
                Token::BRACE_R
            )
            : new NodeList([]);
    }
private function parseInputFieldsDefinition ( ) { return $ this -> peek ( Token :: BRACE_L ) ? $ this -> many ( Token :: BRACE_L , function ( ) { return $ this -> parseInputValueDef ( ) ; } , Token :: BRACE_R ) : new NodeList ( [ ] ) ; }
@return InputValueDefinitionNode[]|NodeList

@throws SyntaxError
@return InputValueDefinitionNode [] |NodeList