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.
2 parents 44ea4c6 + c620694 commit 9699303Copy full SHA for 9699303
composer.json
@@ -22,7 +22,7 @@
22
],
23
"require": {
24
"guzzlehttp/guzzle": "^7.5",
25
- "php": "^7.4 || ^8.0",
+ "php": "^8.1",
26
"ext-json": "*"
27
}
28
src/Support/Filter.php
@@ -108,7 +108,7 @@ public function toArray() {
108
];
109
110
111
- public function jsonSerialize() {
+ public function jsonSerialize(): mixed {
112
return [$this->toArray()];
113
114
src/Support/FilterCollection.php
@@ -12,7 +12,7 @@ public function add( Filter $filter ) {
12
$this->Filters[] = $filter->toArray();
13
14
15
16
return $this->Filters;
17
18
0 commit comments