Skip to content

Commit 903fbd8

Browse files
committed
Fixes json response
1 parent c76e410 commit 903fbd8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Response.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@ public static function text(string $text): static
3838
/**
3939
* @internal
4040
*
41-
* @param array<string, mixed> $content
42-
*
4341
* @throws JsonException
4442
*/
45-
public static function json(array $content): static
43+
public static function json(mixed $content): static
4644
{
4745
return static::text(json_encode(
4846
$content,

0 commit comments

Comments
 (0)