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 1c23d87 commit 84e77e9Copy full SHA for 84e77e9
src/Exceptions/JsonException.php
@@ -7,7 +7,7 @@
7
8
class JsonException extends GraphQLException
9
{
10
- public static function create(?string $reason = null, int $code = 400, Exception $previous = null): self
+ public static function create(?string $reason = null, int $code = 400, ?Exception $previous = null): self
11
12
return new self(
13
message: 'Invalid JSON.',
0 commit comments