Skip to content

Commit b53d232

Browse files
committed
Added default in match and updated phpstan config
1 parent e2eb93e commit b53d232

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: max
2+
level: 8
33
paths:
44
- src
55
- tests

src/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ private function buildResponse(
7171
'application/x-www-form-urlencoded' => $body = $this->flatten($body),
7272
'multipart/form-data' => $body = $this->flatten($body),
7373
'application/graphql' => $body = $body[0],
74+
default => $body = $body,
7475
};
7576
}
7677
if(!is_array($headers)) {

0 commit comments

Comments
 (0)