@@ -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){ |
@@ -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 |
@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * Handle & log exceptions |
72 | 72 | * |
73 | - * @param Throwable $e |
|
73 | + * @param ErrorException $e |
|
74 | 74 | * @return void |
75 | 75 | * @see http://php.net/manual/en/function.set-exception-handler.php |
76 | 76 | */ |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * delete record by id |
61 | 61 | * |
62 | 62 | * @param string $id |
63 | - * @return bool |
|
63 | + * @return boolean|null |
|
64 | 64 | * @throws Exception if feed couldn't be deleted |
65 | 65 | */ |
66 | 66 | public function deleteById($id){ |