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.
TestResponseHelper
1 parent e7ea095 commit 3d459fdCopy full SHA for 3d459fd
src/Tempest/Framework/Testing/Http/TestResponseHelper.php
@@ -6,6 +6,7 @@
6
7
use Closure;
8
use Generator;
9
+use JsonSerializable;
10
use PHPUnit\Framework\Assert;
11
use Tempest\Http\Cookie\CookieManager;
12
use Tempest\Http\Response;
@@ -34,7 +35,7 @@ public function __construct(
34
35
get => $this->response->headers;
36
}
37
- public View|string|array|Generator|null $body {
38
+ public View|string|array|Generator|JsonSerializable|null $body {
39
get => $this->response->body;
40
41
0 commit comments