Merge pull request #9287 from JulianAtkins/develop

fix: `ResponseInterface::setJSON()` also accepts objects
This commit is contained in:
John Paul E. Balandan, CPA 2024-11-30 01:01:40 +08:00 committed by GitHub
commit 72f6a78f9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -210,7 +210,7 @@ interface ResponseInterface extends MessageInterface
/**
* Converts the $body into JSON and sets the Content Type header.
*
* @param array|string $body
* @param array|object|string $body
*
* @return $this
*/