Skip to content

Commit

Permalink
fix: The function setJSON also accepts objects
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianAtkins authored Nov 18, 2024
1 parent 27ae8bb commit d1d5b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/ResponseInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public function setContentType(string $mime, string $charset = 'UTF-8');
/**
* Converts the $body into JSON and sets the Content Type header.
*
* @param array|string $body
* @param array|object|string $body
*
* @return $this
*/
Expand Down

0 comments on commit d1d5b7f

Please sign in to comment.