@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | /** |
254 | 254 | * Set the disabled flag. |
255 | 255 | * |
256 | - * @param $disabled |
|
256 | + * @param boolean $disabled |
|
257 | 257 | * @return $this |
258 | 258 | */ |
259 | 259 | public function setDisabled($disabled) |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | /** |
395 | 395 | * Set the field slug. |
396 | 396 | * |
397 | - * @param $field |
|
397 | + * @param string $field |
|
398 | 398 | * @return $this |
399 | 399 | */ |
400 | 400 | public function setField($field) |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | /** |
457 | 457 | * Get the field slug. |
458 | 458 | * |
459 | - * @return mixed |
|
459 | + * @return null|string |
|
460 | 460 | */ |
461 | 461 | public function getField() |
462 | 462 | { |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | /** |
640 | 640 | * Set the placeholder. |
641 | 641 | * |
642 | - * @param $placeholder |
|
642 | + * @param null|string $placeholder |
|
643 | 643 | * @return $this |
644 | 644 | */ |
645 | 645 | public function setPlaceholder($placeholder) |
@@ -732,7 +732,7 @@ discard block |
||
732 | 732 | /** |
733 | 733 | * Set the prefix. |
734 | 734 | * |
735 | - * @param $prefix |
|
735 | + * @param string|null $prefix |
|
736 | 736 | * @return $this |
737 | 737 | */ |
738 | 738 | public function setPrefix($prefix) |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | /** |
802 | 802 | * Set the required flag. |
803 | 803 | * |
804 | - * @param $required |
|
804 | + * @param boolean $required |
|
805 | 805 | * @return $this |
806 | 806 | */ |
807 | 807 | public function setRequired($required) |
@@ -875,7 +875,7 @@ discard block |
||
875 | 875 | /** |
876 | 876 | * Get the column length. |
877 | 877 | * |
878 | - * @return string |
|
878 | + * @return null|integer |
|
879 | 879 | */ |
880 | 880 | public function getColumnLength() |
881 | 881 | { |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | /** |
292 | 292 | * Fire field events. |
293 | 293 | * |
294 | - * @param $trigger |
|
294 | + * @param string $trigger |
|
295 | 295 | * @param array $payload |
296 | 296 | */ |
297 | 297 | public function fireFieldEvents($trigger, array $payload = []) |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | /** |
462 | 462 | * Get the entry object. |
463 | 463 | * |
464 | - * @return null|EntryInterface|FieldInterface|mixed |
|
464 | + * @return null|integer |
|
465 | 465 | */ |
466 | 466 | public function getEntry() |
467 | 467 | { |
@@ -735,8 +735,8 @@ discard block |
||
735 | 735 | /** |
736 | 736 | * Get an option value. |
737 | 737 | * |
738 | - * @param $key |
|
739 | - * @param null $default |
|
738 | + * @param string $key |
|
739 | + * @param string $default |
|
740 | 740 | * @return mixed |
741 | 741 | */ |
742 | 742 | public function getOption($key, $default = null) |
@@ -812,8 +812,8 @@ discard block |
||
812 | 812 | /** |
813 | 813 | * Get a form option value. |
814 | 814 | * |
815 | - * @param $key |
|
816 | - * @param null $default |
|
815 | + * @param string $key |
|
816 | + * @param string $default |
|
817 | 817 | * @return mixed |
818 | 818 | */ |
819 | 819 | public function getFormOption($key, $default = null) |
@@ -868,7 +868,7 @@ discard block |
||
868 | 868 | /** |
869 | 869 | * Return the form entry's ID. |
870 | 870 | * |
871 | - * @return int|mixed|null |
|
871 | + * @return null|integer |
|
872 | 872 | */ |
873 | 873 | public function getFormEntryId() |
874 | 874 | { |
@@ -904,7 +904,7 @@ discard block |
||
904 | 904 | /** |
905 | 905 | * Set the form mode. |
906 | 906 | * |
907 | - * @param $mode |
|
907 | + * @param string $mode |
|
908 | 908 | * @return $this |
909 | 909 | */ |
910 | 910 | public function setFormMode($mode) |
@@ -1013,7 +1013,7 @@ discard block |
||
1013 | 1013 | /** |
1014 | 1014 | * Set the form response. |
1015 | 1015 | * |
1016 | - * @param null|false|Response $response |
|
1016 | + * @param Response $response |
|
1017 | 1017 | * @return $this |
1018 | 1018 | */ |
1019 | 1019 | public function setFormResponse(Response $response) |
@@ -1270,9 +1270,9 @@ discard block |
||
1270 | 1270 | /** |
1271 | 1271 | * Get a request value. |
1272 | 1272 | * |
1273 | - * @param $key |
|
1273 | + * @param string $key |
|
1274 | 1274 | * @param null $default |
1275 | - * @return mixed |
|
1275 | + * @return string |
|
1276 | 1276 | */ |
1277 | 1277 | public function getRequestValue($key, $default = null) |
1278 | 1278 | { |
@@ -1295,8 +1295,7 @@ discard block |
||
1295 | 1295 | * Return a post key flag. |
1296 | 1296 | * |
1297 | 1297 | * @param $key |
1298 | - * @param null $default |
|
1299 | - * @return mixed |
|
1298 | + * @return boolean |
|
1300 | 1299 | */ |
1301 | 1300 | public function hasPostedInput($key) |
1302 | 1301 | { |
@@ -36,7 +36,6 @@ |
||
36 | 36 | * Handle the command. |
37 | 37 | * |
38 | 38 | * @param Request $request |
39 | - * @param Container $container |
|
40 | 39 | */ |
41 | 40 | public function handle(Request $request, ViewHandler $handler) |
42 | 41 | { |