We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5165e97 commit 67e9e7eCopy full SHA for 67e9e7e
src/Http/Response/ContentTrait.php
@@ -50,7 +50,7 @@ public function hasContent(): bool
50
public function setContent($content)
51
{
52
if (!is_scalar($content)) {
53
- $content = json_encode($content, JSON_PRETTY_PRINT);
+ $content = json_encode($content, JSON_PARTIAL_OUTPUT_ON_ERROR|JSON_PRETTY_PRINT);
54
}
55
56
if (is_bool($content)) {
0 commit comments