Skip to content

Commit c86006e

Browse files
spawniaStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 97f8b78 commit c86006e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/utils.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ function extractStringFromLiteral($valueNode): string
2828
{
2929
if (!$valueNode instanceof StringValueNode) {
3030
throw new Error(
31-
"Query error: Can only parse strings got: {$valueNode->kind}", [$valueNode]
31+
"Query error: Can only parse strings got: {$valueNode->kind}",
32+
[$valueNode]
3233
);
3334
}
3435

tests/MixedTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ protected function executeQueryWithJsonVariable(string $jsonLiteral): ExecutionR
185185
}
186186
';
187187

188-
$json = json_decode("
188+
$json = json_decode(
189+
"
189190
{
190191
\"var\": $jsonLiteral
191192
}

0 commit comments

Comments
 (0)