Skip to content

Commit 591e07b

Browse files
Merge pull request #869 from us3r001/fix-query-jsonserialize-return-type
Fixed jsonSerialize returntype in php query template
2 parents dfac50e + 6b4ace6 commit 591e07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/php/src/Query.php.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Query implements \JsonSerializable
2626
return json_encode($this->jsonSerialize());
2727
}
2828
29-
public function jsonSerialize()
29+
public function jsonSerialize(): array
3030
{
3131
return array_filter([
3232
'method' => $this->method,

0 commit comments

Comments
 (0)