We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f8b78 commit c86006eCopy full SHA for c86006e
src/utils.php
@@ -28,7 +28,8 @@ function extractStringFromLiteral($valueNode): string
28
{
29
if (!$valueNode instanceof StringValueNode) {
30
throw new Error(
31
- "Query error: Can only parse strings got: {$valueNode->kind}", [$valueNode]
+ "Query error: Can only parse strings got: {$valueNode->kind}",
32
+ [$valueNode]
33
);
34
}
35
tests/MixedTest.php
@@ -185,7 +185,8 @@ protected function executeQueryWithJsonVariable(string $jsonLiteral): ExecutionR
185
186
';
187
188
- $json = json_decode("
+ $json = json_decode(
189
+ "
190
191
\"var\": $jsonLiteral
192
0 commit comments