Skip to content

Commit 92b15cb

Browse files
committed
Change private properties to protected
1 parent 6fc097c commit 92b15cb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Exceptions/GraphQLException.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
class GraphQLException extends Exception implements GraphQLExceptionInterface
1111
{
1212
/** @param array<string, mixed> $extensions */
13-
public function __construct(string $message, int $code = 0, Throwable|null $previous = null, private string $category = 'Exception', private array $extensions = [])
14-
{
13+
public function __construct(
14+
string $message,
15+
int $code = 0,
16+
Throwable|null $previous = null,
17+
protected string $category = 'Exception',
18+
protected array $extensions = [],
19+
) {
1520
parent::__construct($message, $code, $previous);
1621
}
1722

0 commit comments

Comments
 (0)