@@ -843,7 +843,7 @@ discard block |
||
| 843 | 843 | * Create a checkbox input field. |
| 844 | 844 | * |
| 845 | 845 | * @param string $name |
| 846 | - * @param mixed $value |
|
| 846 | + * @param integer $value |
|
| 847 | 847 | * @param bool|null $checked |
| 848 | 848 | * @param array $options |
| 849 | 849 | * |
@@ -903,7 +903,7 @@ discard block |
||
| 903 | 903 | * @param mixed $value |
| 904 | 904 | * @param bool|null $checked |
| 905 | 905 | * |
| 906 | - * @return bool |
|
| 906 | + * @return boolean|null |
|
| 907 | 907 | */ |
| 908 | 908 | private function getCheckedState($type, $name, $value, $checked) |
| 909 | 909 | { |
@@ -926,7 +926,7 @@ discard block |
||
| 926 | 926 | * @param mixed $value |
| 927 | 927 | * @param bool|null $checked |
| 928 | 928 | * |
| 929 | - * @return bool |
|
| 929 | + * @return boolean|null |
|
| 930 | 930 | */ |
| 931 | 931 | private function getCheckboxCheckedState($name, $value, $checked) |
| 932 | 932 | { |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | * @param string $method |
| 109 | 109 | * @param array $parameters |
| 110 | 110 | * |
| 111 | - * @return \Illuminate\Support\HtmlString|mixed |
|
| 111 | + * @return HtmlString |
|
| 112 | 112 | * |
| 113 | 113 | * @throws \BadMethodCallException |
| 114 | 114 | */ |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php namespace Arcanedev\LaravelHtml\Traits; |
| 2 | 2 | |
| 3 | +use BadMethodCallException; |
|
| 3 | 4 | use Illuminate\Support\Arr; |
| 4 | 5 | use Illuminate\Support\HtmlString; |
| 5 | -use BadMethodCallException; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class Componentable |