src/Schema/Types/Scalars/Upload.php
public function parseValue($value): UploadedFile
    {
        if (! $value instanceof UploadedFile) {
            throw new Error(
                'Could not get uploaded file, be sure to conform to GraphQL multipart request specification: https://github.com/jaydenseric/graphql-multipart-request-spec Instead got: '.Utils::printSafe($value)
            );
        }

        return $value;
    }
public function parseValue($value): UploadedFile
    {
        if (! $value instanceof UploadedFile) {
            throw new Error(
                'Could not get uploaded file, be sure to conform to GraphQL multipart request specification: https://github.com/jaydenseric/graphql-multipart-request-spec Instead got: '.Utils::printSafe($value)
            );
        }

        return $value;
    }
public function parseValue ( $ value ) : UploadedFile { if ( ! $ value instanceof UploadedFile ) { throw new Error ( 'Could not get uploaded file, be sure to conform to GraphQL multipart request specification: https://github.com/jaydenseric/graphql-multipart-request-spec Instead got: ' . Utils :: printSafe ( $ value ) ) ; } return $ value ; }
Parse a externally provided variable value into a Carbon instance.

@param  mixed  $value
@return \Illuminate\Http\UploadedFile

@throws \GraphQL\Error\Error
Parse a externally provided variable value into a Carbon instance .