@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Encore\Admin\Admin; |
6 | 6 | use Encore\Admin\Form\Field; |
7 | -use Illuminate\Support\Arr; |
|
8 | 7 | |
9 | 8 | /** |
10 | 9 | * @mixin Field |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Encore\Admin\Grid; |
4 | 4 | |
5 | -use Carbon\Carbon; |
|
6 | 5 | use Closure; |
7 | 6 | use Encore\Admin\Actions\RowAction; |
8 | 7 | use Encore\Admin\Grid; |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Illuminate\Database\Eloquent\Model; |
19 | 19 | use Illuminate\Database\Eloquent\Relations; |
20 | 20 | use Illuminate\Database\Eloquent\SoftDeletes; |
21 | -use Illuminate\Http\Request; |
|
22 | 21 | use Illuminate\Support\Arr; |
23 | 22 | use Illuminate\Support\Facades\DB; |
24 | 23 | use Illuminate\Support\MessageBag; |
@@ -92,9 +92,9 @@ |
||
92 | 92 | // took from addCascadeScript() |
93 | 93 | $must_escape = ['=', '>', '<', '>=', '<=', '!=']; |
94 | 94 | if (($index = array_search($operator, $must_escape)) !== false) { |
95 | - $operator_escaped = "op$index"; |
|
95 | + $operator_escaped = "op$index"; |
|
96 | 96 | } else { |
97 | - $operator_escaped = $operator; |
|
97 | + $operator_escaped = $operator; |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | if (is_array($value)) { |