Skip to content

Commit dfe7891

Browse files
authored
Merge pull request #6730 from kenjis/fix-phpdoc-ResponseTrait
docs: fix ResponseTrait::getJSON() `@return` type
2 parents bfeac20 + 071b85a commit dfe7891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/ResponseTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public function setJSON($body, bool $unencoded = false)
254254
/**
255255
* Returns the current body, converted to JSON is it isn't already.
256256
*
257-
* @return bool|string|null
257+
* @return string|null
258258
*
259259
* @throws InvalidArgumentException If the body property is not array.
260260
*/

0 commit comments

Comments
 (0)