Skip to content

Commit 9f4d663

Browse files
[10.x] Move ShowModelCommand (#45334)
* Move ShowModelCommand * Apply fixes from StyleCI Co-authored-by: StyleCI Bot <[email protected]>
1 parent 45cf8b8 commit 9f4d663

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Illuminate/Foundation/Console/ShowModelCommand.php renamed to src/Illuminate/Database/Console/ShowModelCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22

3-
namespace Illuminate\Foundation\Console;
3+
namespace Illuminate\Database\Console;
44

55
use BackedEnum;
66
use Doctrine\DBAL\Schema\Column;
77
use Doctrine\DBAL\Schema\Index;
88
use Doctrine\DBAL\Types\DecimalType;
9-
use Illuminate\Console\Command;
109
use Illuminate\Contracts\Container\BindingResolutionException;
11-
use Illuminate\Database\Console\DatabaseInspectionCommand;
1210
use Illuminate\Database\Eloquent\Relations\Relation;
1311
use Illuminate\Support\Facades\Gate;
1412
use Illuminate\Support\Str;

src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
use Illuminate\Database\Console\Seeds\SeedCommand;
2323
use Illuminate\Database\Console\Seeds\SeederMakeCommand;
2424
use Illuminate\Database\Console\ShowCommand;
25+
use Illuminate\Database\Console\ShowModelCommand;
2526
use Illuminate\Database\Console\TableCommand as DatabaseTableCommand;
2627
use Illuminate\Database\Console\WipeCommand;
2728
use Illuminate\Foundation\Console\AboutCommand;
@@ -63,7 +64,6 @@
6364
use Illuminate\Foundation\Console\RuleMakeCommand;
6465
use Illuminate\Foundation\Console\ScopeMakeCommand;
6566
use Illuminate\Foundation\Console\ServeCommand;
66-
use Illuminate\Foundation\Console\ShowModelCommand;
6767
use Illuminate\Foundation\Console\StorageLinkCommand;
6868
use Illuminate\Foundation\Console\StubPublishCommand;
6969
use Illuminate\Foundation\Console\TestMakeCommand;

0 commit comments

Comments
 (0)