@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | /** |
| 248 | 248 | * Field constructor. |
| 249 | 249 | * |
| 250 | - * @param $column |
|
| 250 | + * @param string $column |
|
| 251 | 251 | * @param array $arguments |
| 252 | 252 | */ |
| 253 | 253 | public function __construct($column, $arguments = []) |
@@ -688,7 +688,7 @@ discard block |
||
| 688 | 688 | /** |
| 689 | 689 | * Set or get value of the field. |
| 690 | 690 | * |
| 691 | - * @param null $value |
|
| 691 | + * @param string $value |
|
| 692 | 692 | * |
| 693 | 693 | * @return mixed |
| 694 | 694 | */ |
@@ -859,7 +859,7 @@ discard block |
||
| 859 | 859 | /** |
| 860 | 860 | * Add html attributes to elements. |
| 861 | 861 | * |
| 862 | - * @param array|string $attribute |
|
| 862 | + * @param string $attribute |
|
| 863 | 863 | * @param mixed $value |
| 864 | 864 | * |
| 865 | 865 | * @return $this |
@@ -1196,7 +1196,7 @@ discard block |
||
| 1196 | 1196 | } |
| 1197 | 1197 | |
| 1198 | 1198 | /** |
| 1199 | - * @param array $labelClass |
|
| 1199 | + * @param string[] $labelClass |
|
| 1200 | 1200 | * |
| 1201 | 1201 | * @return self |
| 1202 | 1202 | */ |
@@ -1251,7 +1251,7 @@ discard block |
||
| 1251 | 1251 | * |
| 1252 | 1252 | * @param string $view |
| 1253 | 1253 | * |
| 1254 | - * @return string |
|
| 1254 | + * @return Field |
|
| 1255 | 1255 | */ |
| 1256 | 1256 | public function setView($view) |
| 1257 | 1257 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Encore\Admin\Form\EmbeddedForm; |
| 6 | 6 | use Encore\Admin\Form\Field; |
| 7 | 7 | use Illuminate\Support\Arr; |
| 8 | -use Illuminate\Support\Facades\Validator; |
|
| 9 | 8 | use Illuminate\Support\Str; |
| 10 | 9 | |
| 11 | 10 | class Embeds extends Field |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Encore\Admin\Form\Field; |
| 6 | 6 | use Illuminate\Support\Arr; |
| 7 | -use Illuminate\Support\Facades\Validator; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
| 9 | 8 | |
| 10 | 9 | class File extends Field |