@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Displays an error message in html. |
41 | 41 | * |
42 | - * @param $code |
|
42 | + * @param integer $code |
|
43 | 43 | * @param $message |
44 | 44 | * @param $text |
45 | 45 | * |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | private $model; |
14 | 14 | |
15 | 15 | /** |
16 | - * @param $model |
|
16 | + * @param AddModel $model |
|
17 | 17 | */ |
18 | 18 | public function setModel($model) |
19 | 19 | { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @return int |
|
24 | + * @return false|string |
|
25 | 25 | * @throws \Exception |
26 | 26 | */ |
27 | 27 | public function save() |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
25 | - * @return int |
|
25 | + * @return string|false |
|
26 | 26 | * @throws \Exception |
27 | 27 | */ |
28 | 28 | public function save() |
@@ -19,7 +19,7 @@ |
||
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
22 | - * @return int |
|
22 | + * @return boolean |
|
23 | 23 | * @throws \Exception |
24 | 24 | */ |
25 | 25 | public function update() |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @return int |
|
24 | + * @return false|string |
|
25 | 25 | * @throws \Exception |
26 | 26 | */ |
27 | 27 | public function save() |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @return int |
|
24 | + * @return false|string |
|
25 | 25 | * @throws \Exception |
26 | 26 | */ |
27 | 27 | public function add() |
@@ -23,7 +23,7 @@ |
||
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
26 | - * @return int |
|
26 | + * @return false|string |
|
27 | 27 | * @throws \Exception |
28 | 28 | */ |
29 | 29 | public function save() |
@@ -23,7 +23,7 @@ |
||
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
26 | - * @return int |
|
26 | + * @return boolean |
|
27 | 27 | * @throws \Exception |
28 | 28 | */ |
29 | 29 | public function update() |