@@ -67,7 +67,7 @@ |
||
67 | 67 | */ |
68 | 68 | public function directoryExists(string $path, string $locale): void |
69 | 69 | { |
70 | - if (! $path || ! $this->exists($path)) { |
|
70 | + if ( ! $path || ! $this->exists($path)) { |
|
71 | 71 | throw new SourceLocaleNotExists($locale); |
72 | 72 | } |
73 | 73 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | protected function normalizeNames(array $directories): array |
49 | 49 | { |
50 | - return array_map(function ($dir) { |
|
50 | + return array_map(function($dir) { |
|
51 | 51 | return File::name($dir); |
52 | 52 | }, $directories); |
53 | 53 | } |
@@ -65,7 +65,7 @@ |
||
65 | 65 | { |
66 | 66 | $this->mergeConfigFrom(__DIR__ . '/../config/lang-publisher.php', ConfigContract::KEY); |
67 | 67 | |
68 | - $this->app->singleton(ConfigContract::class, function () { |
|
68 | + $this->app->singleton(ConfigContract::class, function() { |
|
69 | 69 | return new Config(); |
70 | 70 | }); |
71 | 71 | } |