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.
1 parent c76e410 commit 903fbd8Copy full SHA for 903fbd8
src/Response.php
@@ -38,11 +38,9 @@ public static function text(string $text): static
38
/**
39
* @internal
40
*
41
- * @param array<string, mixed> $content
42
- *
43
* @throws JsonException
44
*/
45
- public static function json(array $content): static
+ public static function json(mixed $content): static
46
{
47
return static::text(json_encode(
48
$content,
0 commit comments