Add some PHPDoc params in ResponseTrait

This commit is contained in:
Natan Felles 2017-07-24 23:03:42 -03:00
parent 7e0e1841f4
commit 2369a62a4d
No known key found for this signature in database
GPG Key ID: 59CC6FA82E1E87FD

View File

@ -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