Skip to content

Commit 72f6a78

Browse files
authored
Merge pull request #9287 from JulianAtkins/develop
fix: `ResponseInterface::setJSON()` also accepts objects
2 parents 713c869 + d1d5b7f commit 72f6a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/ResponseInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function setContentType(string $mime, string $charset = 'UTF-8');
210210
/**
211211
* Converts the $body into JSON and sets the Content Type header.
212212
*
213-
* @param array|string $body
213+
* @param array|object|string $body
214214
*
215215
* @return $this
216216
*/

0 commit comments

Comments
 (0)