@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * @param int $nesting |
91 | 91 | * @param array $classes |
92 | - * @return bool|string |
|
92 | + * @return false|string |
|
93 | 93 | */ |
94 | 94 | public function breadcrumb($nesting = 0, $classes = []) |
95 | 95 | { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * |
244 | 244 | * @param string $type |
245 | 245 | * |
246 | - * @return int |
|
246 | + * @return string |
|
247 | 247 | */ |
248 | 248 | public function modifierFullName($type = '') |
249 | 249 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Returns article content. |
142 | 142 | * |
143 | - * @param bool|int $truncate |
|
143 | + * @param boolean $truncate |
|
144 | 144 | * @param bool $stripTags |
145 | 145 | * @param bool $escape |
146 | 146 | * @param bool $raw |
@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | * |
315 | 315 | * @param string $type |
316 | 316 | * |
317 | - * @return int |
|
317 | + * @return string |
|
318 | 318 | */ |
319 | 319 | public function modifierFullName($type = '') |
320 | 320 | { |
@@ -37,6 +37,9 @@ |
||
37 | 37 | ); |
38 | 38 | } |
39 | 39 | |
40 | + /** |
|
41 | + * @return string |
|
42 | + */ |
|
40 | 43 | public function url() |
41 | 44 | { |
42 | 45 | if (!isset($this->page['url'])) { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * |
244 | 244 | * @param string $type |
245 | 245 | * |
246 | - * @return int |
|
246 | + * @return string |
|
247 | 247 | */ |
248 | 248 | public function modifierFullName($type = '') |
249 | 249 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @param array $f |
13 | 13 | * |
14 | - * @return int |
|
14 | + * @return boolean |
|
15 | 15 | */ |
16 | 16 | public function update($f) |
17 | 17 | { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * |
244 | 244 | * @param string $type |
245 | 245 | * |
246 | - * @return int |
|
246 | + * @return string |
|
247 | 247 | */ |
248 | 248 | public function modifierFullName($type = '') |
249 | 249 | { |
@@ -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() |