@@ -41,7 +41,7 @@ |
||
| 41 | 41 | { |
| 42 | 42 | if (File::isDirectory($directory)) { |
| 43 | 43 | |
| 44 | - App::afterResolving('migrator', function ($migrator) use ($directory) { |
|
| 44 | + App::afterResolving('migrator', function($migrator) use ($directory) { |
|
| 45 | 45 | foreach ((array)$directory as $path) { |
| 46 | 46 | $migrator->path($path); |
| 47 | 47 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | { |
| 23 | 23 | $newFactoriesPath = '/app/Port/Loader/Loaders/Factories'; |
| 24 | 24 | |
| 25 | - App::singleton(Factory::class, function ($app) use ($newFactoriesPath) { |
|
| 25 | + App::singleton(Factory::class, function($app) use ($newFactoriesPath) { |
|
| 26 | 26 | $faker = $app->make(Generator::class); |
| 27 | 27 | |
| 28 | 28 | return Factory::construct($faker, base_path() . $newFactoriesPath); |
@@ -73,12 +73,12 @@ |
||
| 73 | 73 | */ |
| 74 | 74 | public function register() |
| 75 | 75 | { |
| 76 | - $this->app->bind('LoaderHelper', function () { |
|
| 76 | + $this->app->bind('LoaderHelper', function() { |
|
| 77 | 77 | return $this->app->make(LoaderHelper::class); |
| 78 | 78 | }); |
| 79 | 79 | |
| 80 | 80 | |
| 81 | - $this->app->bind('PortButler', function () { |
|
| 81 | + $this->app->bind('PortButler', function() { |
|
| 82 | 82 | return $this->app->make(PortButler::class); |
| 83 | 83 | }); |
| 84 | 84 | |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * @param array $aliases |
|
| 19 | 18 | */ |
| 20 | 19 | public function loadPortInternalAliases() |
| 21 | 20 | { |
@@ -39,6 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @param $consoleClass |
| 42 | + * @param string $directory |
|
| 42 | 43 | */ |
| 43 | 44 | private function loadTheConsoles($directory) |
| 44 | 45 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @param $directory |
|
| 67 | + * @param string $directory |
|
| 68 | 68 | */ |
| 69 | 69 | private function loadSeeds($directory) |
| 70 | 70 | { |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | $this->baseUrl = env('API_FULL_URL'); // this reads the value from `phpunit.xml` during testing |
| 58 | 58 | |
| 59 | 59 | // override the default subDomain of the base URL when subDomain property is declared inside a test |
| 60 | - if(property_exists($this, 'subDomain')){ |
|
| 60 | + if (property_exists($this, 'subDomain')) { |
|
| 61 | 61 | $this->overrideSubDomain($this->subDomain); |
| 62 | 62 | } |
| 63 | 63 | |