Completed
Push — master ( f9641d...891d78 )
by Song
02:28
created
src/Form/Field.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Form/Field/Embeds.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Form/Field/File.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.