We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 557871c commit 12b5581Copy full SHA for 12b5581
JsonSerializeTrait.php
@@ -19,7 +19,7 @@ trait JsonSerializeTrait
19
*
20
* @return array Request object properties (not a JSON serialized request object)
21
*/
22
- public function jsonSerialize(): array
+ public function jsonSerialize(): mixed
23
{
24
return \get_object_vars($this);
25
}
Uri.php
@@ -219,7 +219,7 @@ private function isStandardPort(): bool
219
return \in_array($this->port, static::STANDARD_PORTS);
220
221
222
- public function jsonSerialize()
223
224
return \array_filter([
225
'scheme' => $this->getScheme(),
0 commit comments