@@ -5,10 +5,10 @@ |
||
5 | 5 | use Illuminate\Database\Eloquent\Relations\BelongsTo; |
6 | 6 | use Illuminate\Database\Eloquent\Relations\HasOneOrMany; |
7 | 7 | use Illuminate\Database\Eloquent\Relations\Relation; |
8 | +use Illuminate\Support\Arr; |
|
8 | 9 | use Illuminate\Support\Collection; |
9 | 10 | use ReflectionClass; |
10 | 11 | use ReflectionMethod; |
11 | -use Illuminate\Support\Arr; |
|
12 | 12 | |
13 | 13 | |
14 | 14 | class RelationFinder |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace BeyondCode\ErdGenerator; |
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Relations\BelongsToMany; |
6 | -use phpDocumentor\GraphViz\Graph; |
|
7 | 6 | use Illuminate\Support\Collection; |
7 | +use phpDocumentor\GraphViz\Graph; |
|
8 | 8 | use phpDocumentor\GraphViz\Node; |
9 | 9 | use \Illuminate\Database\Eloquent\Model as EloquentModel; |
10 | 10 |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | use BeyondCode\ErdGenerator\Model as GraphModel; |
6 | 6 | use Illuminate\Console\Command; |
7 | -use Illuminate\Support\Collection; |
|
8 | -use phpDocumentor\GraphViz\Graph; |
|
9 | -use ReflectionClass; |
|
10 | 7 | use Illuminate\Support\Arr; |
8 | +use Illuminate\Support\Collection; |
|
11 | 9 | use Illuminate\Support\Str; |
10 | +use ReflectionClass; |
|
11 | +use phpDocumentor\GraphViz\Graph; |
|
12 | 12 | |
13 | 13 | class GenerateDiagramCommand extends Command |
14 | 14 | { |