Skip to content

Commit 152b826

Browse files
spawniaStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 5b504b0 commit 152b826

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/JSON.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ public function parseLiteral($valueNode, ?array $variables = null)
3838
* Try to decode a user-given JSON value.
3939
*
4040
* @param mixed $value A user given JSON
41-
* @return mixed The decoded value
4241
*
4342
* @throws Error
43+
*
44+
* @return mixed The decoded value
4445
*/
4546
protected function decodeJSON($value)
4647
{

src/StringScalar.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use GraphQL\Error\Error;
88
use GraphQL\Error\InvariantViolation;
9-
use GraphQL\Language\AST\Node;
109
use GraphQL\Type\Definition\ScalarType;
1110
use GraphQL\Utils\Utils as GraphQLUtils;
1211

src/Utils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public static function canBeString($value): bool
2828
* Get the underlying string from a GraphQL literal and throw if Literal is not a string.
2929
*
3030
* @param Node&ValueNode $valueNode
31+
*
3132
* @throws Error
3233
*/
3334
public static function extractStringFromLiteral(Node $valueNode): string

0 commit comments

Comments
 (0)