Completed
Pull Request — master (#4696)
by
unknown
03:04
created
src/Form/Field/HasValuePicker.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Encore\Admin\Form\Field;
4 4
 
5 5
 use Encore\Admin\Admin;
6
-use Illuminate\Support\Arr;
7 6
 
8 7
 trait HasValuePicker
9 8
 {
Please login to merge, or discard this patch.
src/Form/Field/ValuePicker.php 1 patch
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.