Skip to content

Commit cc6f511

Browse files
committed
Merge branch '1.x' into 2.x
* 1.x: ReturnTypeWillChange to surpress PHP8.1 Deprecation notice. Remove unecessary files from archive
2 parents 3dbfa5c + e9a1e59 commit cc6f511

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
/.github export-ignore
12
/.gitattributes export-ignore
23
/.gitignore export-ignore
4+
/.php_cs.dist export-ignore
35
/.travis.yml export-ignore
46
/phpunit.xml.dist export-ignore
57
/tests export-ignore

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)