@@ -348,7 +348,6 @@ discard block |
||
| 348 | 348 | /** |
| 349 | 349 | * Set the highlighted flag. |
| 350 | 350 | * |
| 351 | - * @param boolean $active |
|
| 352 | 351 | * @return $this |
| 353 | 352 | */ |
| 354 | 353 | public function setHighlighted($highlighted) |
@@ -361,7 +360,7 @@ discard block |
||
| 361 | 360 | /** |
| 362 | 361 | * Get the context. |
| 363 | 362 | * |
| 364 | - * @return boolean |
|
| 363 | + * @return string |
|
| 365 | 364 | */ |
| 366 | 365 | public function getContext() |
| 367 | 366 | { |
@@ -371,7 +370,6 @@ discard block |
||
| 371 | 370 | /** |
| 372 | 371 | * Set the context flag. |
| 373 | 372 | * |
| 374 | - * @param boolean $active |
|
| 375 | 373 | * @return $this |
| 376 | 374 | */ |
| 377 | 375 | public function setContext($context) |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | /** |
| 290 | 290 | * Fire field events. |
| 291 | 291 | * |
| 292 | - * @param $trigger |
|
| 292 | + * @param string $trigger |
|
| 293 | 293 | * @param array $payload |
| 294 | 294 | */ |
| 295 | 295 | public function fireFieldEvents($trigger, array $payload = []) |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | /** |
| 460 | 460 | * Get the entry object. |
| 461 | 461 | * |
| 462 | - * @return null|EntryInterface|FieldInterface|mixed |
|
| 462 | + * @return null|integer |
|
| 463 | 463 | */ |
| 464 | 464 | public function getEntry() |
| 465 | 465 | { |
@@ -733,8 +733,8 @@ discard block |
||
| 733 | 733 | /** |
| 734 | 734 | * Get an option value. |
| 735 | 735 | * |
| 736 | - * @param $key |
|
| 737 | - * @param null $default |
|
| 736 | + * @param string $key |
|
| 737 | + * @param string $default |
|
| 738 | 738 | * @return mixed |
| 739 | 739 | */ |
| 740 | 740 | public function getOption($key, $default = null) |
@@ -810,8 +810,8 @@ discard block |
||
| 810 | 810 | /** |
| 811 | 811 | * Get a form option value. |
| 812 | 812 | * |
| 813 | - * @param $key |
|
| 814 | - * @param null $default |
|
| 813 | + * @param string $key |
|
| 814 | + * @param string $default |
|
| 815 | 815 | * @return mixed |
| 816 | 816 | */ |
| 817 | 817 | public function getFormOption($key, $default = null) |
@@ -866,7 +866,7 @@ discard block |
||
| 866 | 866 | /** |
| 867 | 867 | * Return the form entry's ID. |
| 868 | 868 | * |
| 869 | - * @return int|mixed|null |
|
| 869 | + * @return null|integer |
|
| 870 | 870 | */ |
| 871 | 871 | public function getFormEntryId() |
| 872 | 872 | { |
@@ -902,7 +902,7 @@ discard block |
||
| 902 | 902 | /** |
| 903 | 903 | * Set the form mode. |
| 904 | 904 | * |
| 905 | - * @param $mode |
|
| 905 | + * @param string $mode |
|
| 906 | 906 | * @return $this |
| 907 | 907 | */ |
| 908 | 908 | public function setFormMode($mode) |
@@ -1011,7 +1011,7 @@ discard block |
||
| 1011 | 1011 | /** |
| 1012 | 1012 | * Set the form response. |
| 1013 | 1013 | * |
| 1014 | - * @param null|false|Response $response |
|
| 1014 | + * @param Response $response |
|
| 1015 | 1015 | * @return $this |
| 1016 | 1016 | */ |
| 1017 | 1017 | public function setFormResponse(Response $response) |
@@ -1268,9 +1268,9 @@ discard block |
||
| 1268 | 1268 | /** |
| 1269 | 1269 | * Get a request value. |
| 1270 | 1270 | * |
| 1271 | - * @param $key |
|
| 1271 | + * @param string $key |
|
| 1272 | 1272 | * @param null $default |
| 1273 | - * @return mixed |
|
| 1273 | + * @return string |
|
| 1274 | 1274 | */ |
| 1275 | 1275 | public function getRequestValue($key, $default = null) |
| 1276 | 1276 | { |
@@ -1293,8 +1293,7 @@ discard block |
||
| 1293 | 1293 | * Return a post key flag. |
| 1294 | 1294 | * |
| 1295 | 1295 | * @param $key |
| 1296 | - * @param null $default |
|
| 1297 | - * @return mixed |
|
| 1296 | + * @return boolean |
|
| 1298 | 1297 | */ |
| 1299 | 1298 | public function hasPostedInput($key) |
| 1300 | 1299 | { |