@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use App; |
6 | 6 | use App\Port\Foundation\Portals\Facade\PortButler; |
7 | -use DB; |
|
8 | 7 | use File; |
9 | 8 | |
10 | 9 | /** |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use App; |
6 | 6 | use App\Port\Foundation\Portals\Facade\PortButler; |
7 | -use DB; |
|
8 | 7 | use File; |
9 | 8 | |
10 | 9 | /** |
@@ -57,7 +57,7 @@ |
||
57 | 57 | */ |
58 | 58 | private function loadMigrations($directory) |
59 | 59 | { |
60 | - App::afterResolving('migrator', function ($migrator) use ($directory) { |
|
60 | + App::afterResolving('migrator', function($migrator) use ($directory) { |
|
61 | 61 | foreach ((array)$directory as $path) { |
62 | 62 | $migrator->path($path); |
63 | 63 | } |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use App; |
6 | 6 | use App\Port\Foundation\Portals\Facade\PortButler; |
7 | -use DB; |
|
8 | 7 | use File; |
9 | -use Log; |
|
10 | 8 | |
11 | 9 | /** |
12 | 10 | * Class ProvidersLoaderTrait. |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @param $directory |
|
45 | + * @param string $directory |
|
46 | 46 | */ |
47 | 47 | private function loadViews($directory) |
48 | 48 | { |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use App; |
6 | 6 | use App\Port\Foundation\Portals\Facade\PortButler; |
7 | -use DB; |
|
8 | 7 | use File; |
9 | 8 | use Illuminate\Support\Facades\View; |
10 | -use Log; |
|
11 | 9 | |
12 | 10 | /** |
13 | 11 | * Class ViewsLoaderTrait. |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | $newFactoriesPath = '/app/Port/Factory/Factories'; |
25 | 25 | |
26 | - App::singleton(Factory::class, function ($app) use ($newFactoriesPath) { |
|
26 | + App::singleton(Factory::class, function($app) use ($newFactoriesPath) { |
|
27 | 27 | $faker = $app->make(Generator::class); |
28 | 28 | |
29 | 29 | return Factory::construct($faker, base_path() . $newFactoriesPath); |