docs: fix PHPDoc type mixed in HTTP

This commit is contained in:
kenjis 2022-10-19 16:55:00 +09:00
parent 3cd568ae5d
commit 75ca34b268
No known key found for this signature in database
GPG Key ID: BD254878922AF198
3 changed files with 3 additions and 3 deletions

View File

@ -671,7 +671,7 @@ class IncomingRequest extends Request
* with redirect_with_input(). It first checks for the data in the old
* POST data, then the old GET data and finally check for dot arrays
*
* @return mixed
* @return array|string|null
*/
public function getOldInput(string $key)
{

View File

@ -202,7 +202,7 @@ interface ResponseInterface
/**
* Returns the current body, converted to JSON is it isn't already.
*
* @return mixed|string
* @return string|null
*
* @throws InvalidArgumentException If the body property is not array.
*/

View File

@ -252,7 +252,7 @@ trait ResponseTrait
/**
* Returns the current body, converted to JSON is it isn't already.
*
* @return mixed|string
* @return string|null
*
* @throws InvalidArgumentException If the body property is not array.
*/