Skip to content

Commit ff0656a

Browse files
committed
ReturnTypeWillChange to surpress PHP8.1 Deprecation notice.
1 parent 1b5c1ce commit ff0656a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Response.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public static function fromJson(array $json): self
6565
return $response;
6666
}
6767

68+
#[\ReturnTypeWillChange]
6869
public function jsonSerialize()
6970
{
7071
return ['body' => $this->body, 'headers' => $this->headers];

0 commit comments

Comments
 (0)