@@ -175,7 +175,7 @@ |
||
| 175 | 175 | * call error action method and set response status code |
| 176 | 176 | * This will work as well for ajax call, see how ajax calls are handled in main.js |
| 177 | 177 | * |
| 178 | - * @param int|string $code |
|
| 178 | + * @param integer $code |
|
| 179 | 179 | * |
| 180 | 180 | */ |
| 181 | 181 | public function error($code){ |
@@ -70,6 +70,7 @@ |
||
| 70 | 70 | /** |
| 71 | 71 | * Handle & log exceptions |
| 72 | 72 | * |
| 73 | + * @param ErrorException $e |
|
| 73 | 74 | * @return void |
| 74 | 75 | * @see http://php.net/manual/en/function.set-exception-handler.php |
| 75 | 76 | */ |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | /** |
| 186 | 186 | * Sets content for the current web response. |
| 187 | 187 | * |
| 188 | - * @param string|null $content The response content |
|
| 188 | + * @param string|null $contentType The response content |
|
| 189 | 189 | * @return Response |
| 190 | 190 | */ |
| 191 | 191 | public function type($contentType = null){ |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | /** |
| 203 | 203 | * Stop execution of the current script. . |
| 204 | 204 | * |
| 205 | - * @param int|string $status |
|
| 205 | + * @param integer $status |
|
| 206 | 206 | * @return void |
| 207 | 207 | * @see http://php.net/exit |
| 208 | 208 | */ |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | * Returns the mime type definition for an alias |
| 260 | 260 | * |
| 261 | 261 | * @param string $key |
| 262 | - * @return mixed |
|
| 262 | + * @return string |
|
| 263 | 263 | */ |
| 264 | 264 | private function getMimeType($key){ |
| 265 | 265 | |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * A json respond will be sent in case of ajax call |
| 100 | 100 | * |
| 101 | 101 | * @param array $errors |
| 102 | - * @return mixed Rendered output |
|
| 102 | + * @return string Rendered output |
|
| 103 | 103 | */ |
| 104 | 104 | public function renderErrors($errors){ |
| 105 | 105 | |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | * A json respond will be sent in case of ajax call |
| 119 | 119 | * |
| 120 | 120 | * @param string $message |
| 121 | - * @return mixed Rendered output |
|
| 121 | + * @return string Rendered output |
|
| 122 | 122 | */ |
| 123 | 123 | public function renderSuccess($message){ |
| 124 | 124 | |