@@ -3,12 +3,11 @@ |
||
3 | 3 | namespace Sco\Admin\Config; |
4 | 4 | |
5 | 5 | use AdminElement; |
6 | -use JsonSerializable; |
|
6 | +use Illuminate\Config\Repository as ConfigRepository; |
|
7 | 7 | use Illuminate\Contracts\Support\Arrayable; |
8 | 8 | use Illuminate\Contracts\Support\Jsonable; |
9 | -use Illuminate\Config\Repository as ConfigRepository; |
|
10 | 9 | use Illuminate\Foundation\Application; |
11 | -use Sco\Admin\Column\Columns; |
|
10 | +use JsonSerializable; |
|
12 | 11 | use Sco\Admin\Contracts\ConfigFactoryInterface; |
13 | 12 | use Sco\Attributes\HasAttributesTrait; |
14 | 13 |
@@ -3,11 +3,11 @@ |
||
3 | 3 | namespace Sco\Admin\Config; |
4 | 4 | |
5 | 5 | use Illuminate\Config\Repository as ConfigRepository; |
6 | +use Illuminate\Contracts\Support\Arrayable; |
|
7 | +use Illuminate\Contracts\Support\Jsonable; |
|
6 | 8 | use Illuminate\Contracts\Validation\Factory; |
7 | 9 | use Illuminate\Foundation\Application; |
8 | 10 | use JsonSerializable; |
9 | -use Illuminate\Contracts\Support\Arrayable; |
|
10 | -use Illuminate\Contracts\Support\Jsonable; |
|
11 | 11 | use Sco\Admin\Contracts\ConfigFactoryInterface; |
12 | 12 | use Sco\Admin\Contracts\RepositoryInterface; |
13 | 13 | use Sco\Attributes\HasAttributesTrait; |
@@ -3,9 +3,9 @@ |
||
3 | 3 | |
4 | 4 | namespace Sco\Admin\Elements; |
5 | 5 | |
6 | -use JsonSerializable; |
|
7 | 6 | use Illuminate\Contracts\Support\Arrayable; |
8 | 7 | use Illuminate\Contracts\Support\Jsonable; |
8 | +use JsonSerializable; |
|
9 | 9 | use Sco\Admin\Contracts\ElementInterface; |
10 | 10 | |
11 | 11 | abstract class Element implements ElementInterface, Arrayable, Jsonable, JsonSerializable |
@@ -13,8 +13,8 @@ |
||
13 | 13 | use Sco\Admin\Contracts\RepositoryInterface; |
14 | 14 | use Sco\Admin\Elements\ElementFactory; |
15 | 15 | use Sco\Admin\Exceptions\Handler; |
16 | -use Sco\Admin\Facades\AdminFacade; |
|
17 | 16 | use Sco\Admin\Facades\AdminElementFacade; |
17 | +use Sco\Admin\Facades\AdminFacade; |
|
18 | 18 | use Sco\Admin\Repositories\Repository; |
19 | 19 | |
20 | 20 | /** |