@@ -2,19 +2,19 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace IlluminateAgnostic\Arr\Support; |
| 4 | 4 | |
| 5 | -use stdClass; |
|
| 6 | -use Countable; |
|
| 7 | -use Exception; |
|
| 8 | 5 | use ArrayAccess; |
| 9 | -use Traversable; |
|
| 10 | 6 | use ArrayIterator; |
| 11 | 7 | use CachingIterator; |
| 12 | -use JsonSerializable; |
|
| 13 | -use IteratorAggregate; |
|
| 8 | +use Countable; |
|
| 9 | +use Exception; |
|
| 10 | +use IlluminateAgnostic\Arr\Contracts\Support\Arrayable; |
|
| 11 | +use IlluminateAgnostic\Arr\Contracts\Support\Jsonable; |
|
| 14 | 12 | use IlluminateAgnostic\Arr\Support\Debug\Dumper; |
| 15 | 13 | use IlluminateAgnostic\Arr\Support\Traits\Macroable; |
| 16 | -use IlluminateAgnostic\Arr\Contracts\Support\Jsonable; |
|
| 17 | -use IlluminateAgnostic\Arr\Contracts\Support\Arrayable; |
|
| 14 | +use IteratorAggregate; |
|
| 15 | +use JsonSerializable; |
|
| 16 | +use Traversable; |
|
| 17 | +use stdClass; |
|
| 18 | 18 | |
| 19 | 19 | class Collection implements ArrayAccess, Arrayable, Countable, IteratorAggregate, Jsonable, JsonSerializable |
| 20 | 20 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | use IlluminateAgnostic\Arr\Support\Arr; |
| 4 | 4 | use IlluminateAgnostic\Arr\Support\Collection; |
| 5 | 5 | use IlluminateAgnostic\Arr\Support\Debug\Dumper; |
| 6 | -use Illuminate\Support\Collection as IlluminateCollection; |
|
| 7 | 6 | |
| 8 | 7 | if (! function_exists('array_add')) { |
| 9 | 8 | /** |