Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -5,6 +5,7 @@ declare(strict_types=1);
|
||||
namespace GraphQL\Language;
|
||||
|
||||
use JsonSerializable;
|
||||
use ReturnTypeWillChange;
|
||||
|
||||
class SourceLocation implements JsonSerializable
|
||||
{
|
||||
@@ -46,6 +47,7 @@ class SourceLocation implements JsonSerializable
|
||||
/**
|
||||
* @return int[]
|
||||
*/
|
||||
#[ReturnTypeWillChange]
|
||||
public function jsonSerialize()
|
||||
{
|
||||
return $this->toSerializableArray();
|
||||
|
||||
Reference in new issue
Block a user