@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Database\Console\Migrations; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Collection; |
|
| 6 | 5 | use Illuminate\Database\Migrations\Migrator; |
| 6 | +use Illuminate\Support\Collection; |
|
| 7 | 7 | use Symfony\Component\Console\Input\InputOption; |
| 8 | 8 | |
| 9 | 9 | class StatusCommand extends BaseCommand |
@@ -3,10 +3,10 @@ |
||
| 3 | 3 | namespace Illuminate\Database\Console\Seeds; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Console\Command; |
| 6 | -use Illuminate\Database\Eloquent\Model; |
|
| 7 | 6 | use Illuminate\Console\ConfirmableTrait; |
| 8 | -use Symfony\Component\Console\Input\InputOption; |
|
| 9 | 7 | use Illuminate\Database\ConnectionResolverInterface as Resolver; |
| 8 | +use Illuminate\Database\Eloquent\Model; |
|
| 9 | +use Symfony\Component\Console\Input\InputOption; |
|
| 10 | 10 | |
| 11 | 11 | class SeedCommand extends Command |
| 12 | 12 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Database\Console\Seeds; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Composer; |
|
| 6 | -use Illuminate\Filesystem\Filesystem; |
|
| 7 | 5 | use Illuminate\Console\GeneratorCommand; |
| 6 | +use Illuminate\Filesystem\Filesystem; |
|
| 7 | +use Illuminate\Support\Composer; |
|
| 8 | 8 | |
| 9 | 9 | class SeederMakeCommand extends GeneratorCommand |
| 10 | 10 | { |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Database; |
| 4 | 4 | |
| 5 | -use PDO; |
|
| 5 | +use Illuminate\Database\Connectors\ConnectionFactory; |
|
| 6 | 6 | use Illuminate\Support\Arr; |
| 7 | 7 | use Illuminate\Support\Str; |
| 8 | 8 | use InvalidArgumentException; |
| 9 | -use Illuminate\Database\Connectors\ConnectionFactory; |
|
| 9 | +use PDO; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * @mixin \Illuminate\Database\Connection |
@@ -4,12 +4,12 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Faker\Factory as FakerFactory; |
| 6 | 6 | use Faker\Generator as FakerGenerator; |
| 7 | -use Illuminate\Database\Eloquent\Model; |
|
| 8 | -use Illuminate\Support\ServiceProvider; |
|
| 9 | 7 | use Illuminate\Contracts\Queue\EntityResolver; |
| 10 | 8 | use Illuminate\Database\Connectors\ConnectionFactory; |
| 11 | -use Illuminate\Database\Eloquent\QueueEntityResolver; |
|
| 12 | 9 | use Illuminate\Database\Eloquent\Factory as EloquentFactory; |
| 10 | +use Illuminate\Database\Eloquent\Model; |
|
| 11 | +use Illuminate\Database\Eloquent\QueueEntityResolver; |
|
| 12 | +use Illuminate\Support\ServiceProvider; |
|
| 13 | 13 | |
| 14 | 14 | class DatabaseServiceProvider extends ServiceProvider |
| 15 | 15 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Database; |
| 4 | 4 | |
| 5 | -use Throwable; |
|
| 6 | 5 | use Illuminate\Support\Str; |
| 6 | +use Throwable; |
|
| 7 | 7 | |
| 8 | 8 | trait DetectsLostConnections |
| 9 | 9 | { |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Database\Eloquent; |
| 4 | 4 | |
| 5 | -use Closure; |
|
| 6 | 5 | use BadMethodCallException; |
| 7 | -use Illuminate\Support\Arr; |
|
| 8 | -use Illuminate\Support\Str; |
|
| 9 | -use Illuminate\Pagination\Paginator; |
|
| 6 | +use Closure; |
|
| 10 | 7 | use Illuminate\Contracts\Support\Arrayable; |
| 11 | 8 | use Illuminate\Database\Concerns\BuildsQueries; |
| 12 | 9 | use Illuminate\Database\Eloquent\Relations\Relation; |
| 13 | 10 | use Illuminate\Database\Query\Builder as QueryBuilder; |
| 11 | +use Illuminate\Pagination\Paginator; |
|
| 12 | +use Illuminate\Support\Arr; |
|
| 13 | +use Illuminate\Support\Str; |
|
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * @mixin \Illuminate\Database\Query\Builder |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Database\Eloquent; |
| 4 | 4 | |
| 5 | -use LogicException; |
|
| 6 | -use Illuminate\Support\Arr; |
|
| 7 | -use Illuminate\Support\Str; |
|
| 5 | +use Illuminate\Contracts\Queue\QueueableCollection; |
|
| 8 | 6 | use Illuminate\Contracts\Support\Arrayable; |
| 9 | 7 | use Illuminate\Database\Eloquent\Relations\Pivot; |
| 10 | -use Illuminate\Contracts\Queue\QueueableCollection; |
|
| 8 | +use Illuminate\Support\Arr; |
|
| 11 | 9 | use Illuminate\Support\Collection as BaseCollection; |
| 10 | +use Illuminate\Support\Str; |
|
| 11 | +use LogicException; |
|
| 12 | 12 | |
| 13 | 13 | class Collection extends BaseCollection implements QueueableCollection |
| 14 | 14 | { |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Database\Eloquent\Concerns; |
| 4 | 4 | |
| 5 | -use LogicException; |
|
| 6 | 5 | use DateTimeInterface; |
| 7 | -use Illuminate\Support\Arr; |
|
| 8 | -use Illuminate\Support\Str; |
|
| 9 | -use Illuminate\Support\Carbon; |
|
| 10 | 6 | use Illuminate\Contracts\Support\Arrayable; |
| 7 | +use Illuminate\Database\Eloquent\JsonEncodingException; |
|
| 11 | 8 | use Illuminate\Database\Eloquent\Relations\Relation; |
| 9 | +use Illuminate\Support\Arr; |
|
| 10 | +use Illuminate\Support\Carbon; |
|
| 12 | 11 | use Illuminate\Support\Collection as BaseCollection; |
| 13 | -use Illuminate\Database\Eloquent\JsonEncodingException; |
|
| 12 | +use Illuminate\Support\Str; |
|
| 13 | +use LogicException; |
|
| 14 | 14 | |
| 15 | 15 | trait HasAttributes |
| 16 | 16 | { |