Skip to content

Commit 071b85a

Browse files
committed
docs: fix @return type
This is merge mistake. When $body is false, it will be null in the end.
1 parent bfeac20 commit 071b85a

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)