src/Schema/Factories/FieldFactory.php
protected function getInputValueDefinitions(Collection $argumentValues): array
    {
        return $argumentValues
            ->mapWithKeys(function (ArgumentValue $argumentValue): array {
                return [
                    $argumentValue->getName() => $this->argumentFactory->handle($argumentValue),
                ];
            })
            ->all();
    }
protected function getInputValueDefinitions(Collection $argumentValues): array
    {
        return $argumentValues
            ->mapWithKeys(function (ArgumentValue $argumentValue): array {
                return [
                    $argumentValue->getName() => $this->argumentFactory->handle($argumentValue),
                ];
            })
            ->all();
    }
protected function getInputValueDefinitions ( Collection $ argumentValues ) : array { return $ argumentValues -> mapWithKeys ( function ( ArgumentValue $ argumentValue ) : array { return [ $ argumentValue -> getName ( ) => $ this -> argumentFactory -> handle ( $ argumentValue ) , ] ; } ) -> all ( ) ; }
Transform the ArgumentValues into the final InputValueDefinitions.

@param  \Illuminate\Support\Collection<ArgumentValue>  $argumentValues
@return \GraphQL\Language\AST\InputValueDefinitionNode[]
Transform the ArgumentValues into the final InputValueDefinitions .