Skip to content

Commit 09df0f1

Browse files
janicerarMikk Mihkel Nurges
authored andcommitted
Fixed UploadType compatibility issue with LeafType (#166)
1 parent e5effdf commit 09df0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rebing/GraphQL/Support/UploadType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function parseValue($value)
6464
*
6565
* @return mixed
6666
*/
67-
public function parseLiteral($valueNode)
67+
public function parseLiteral($valueNode, ?array $variables = NULL)
6868
{
6969
throw new Error('`Upload` cannot be hardcoded in query, be sure to conform to GraphQL multipart request specification. Instead got: ' . $valueNode->kind, [$valueNode]);
7070
}

0 commit comments

Comments
 (0)