Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
3 additions
and
1 deletion.
-
+3
−1
src/Illuminate/Http/Response.php
|
@@ -93,7 +93,9 @@ protected function morphToJson($content) |
|
|
*/ |
|
|
protected function shouldBeJson($content) |
|
|
{ |
|
|
return $content instanceof JsonableInterface or is_array($content); |
|
|
return ($content instanceof JsonableInterface or |
|
|
$content instanceof ArrayObject or |
|
|
is_array($content)); |
|
|
} |
|
|
|
|
|
/** |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.