mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: fix PHPDoc type mixed in HTTP
This commit is contained in:
parent
3cd568ae5d
commit
75ca34b268
@ -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)
|
||||
{
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user