mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Add some PHPDoc params in ResponseTrait
This commit is contained in:
parent
7e0e1841f4
commit
2369a62a4d
@ -193,6 +193,7 @@ trait ResponseTrait
|
||||
* with the proper information.
|
||||
*
|
||||
* @param string $description
|
||||
* @param string $code
|
||||
* @param string $message
|
||||
*
|
||||
* @return mixed
|
||||
@ -209,6 +210,7 @@ trait ResponseTrait
|
||||
* of trying again will help.
|
||||
*
|
||||
* @param string $description
|
||||
* @param string $code
|
||||
* @param string $message
|
||||
*
|
||||
* @return mixed
|
||||
@ -224,6 +226,7 @@ trait ResponseTrait
|
||||
* Used when a specified resource cannot be found.
|
||||
*
|
||||
* @param string $description
|
||||
* @param string $code
|
||||
* @param string $message
|
||||
*
|
||||
* @return mixed
|
||||
@ -239,6 +242,7 @@ trait ResponseTrait
|
||||
* Used when the data provided by the client cannot be validated.
|
||||
*
|
||||
* @param string $description
|
||||
* @param string $code
|
||||
* @param string $message
|
||||
*
|
||||
* @return mixed
|
||||
@ -254,6 +258,7 @@ trait ResponseTrait
|
||||
* Use when trying to create a new resource and it already exists.
|
||||
*
|
||||
* @param string $description
|
||||
* @param string $code
|
||||
* @param string $message
|
||||
*
|
||||
* @return mixed
|
||||
@ -271,6 +276,7 @@ trait ResponseTrait
|
||||
* where Not Found means we simply cannot find any information about it.
|
||||
*
|
||||
* @param string $description
|
||||
* @param string $code
|
||||
* @param string $message
|
||||
*
|
||||
* @return mixed
|
||||
@ -286,6 +292,7 @@ trait ResponseTrait
|
||||
* Used when the user has made too many requests for the resource recently.
|
||||
*
|
||||
* @param string $description
|
||||
* @param string $code
|
||||
* @param string $message
|
||||
*
|
||||
* @return mixed
|
||||
|
Loading…
x
Reference in New Issue
Block a user