@@ -71,14 +71,14 @@ |
||
| 71 | 71 | |
| 72 | 72 | public function directoryExist(string $path, string $locale): void |
| 73 | 73 | { |
| 74 | - if (! $path || ! $this->exists($path)) { |
|
| 74 | + if ( ! $path || ! $this->exists($path)) { |
|
| 75 | 75 | throw new SourceLocaleDirectoryDoesntExist($locale); |
| 76 | 76 | } |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | public function fileExist(string $path, string $locale): void |
| 80 | 80 | { |
| 81 | - if (! $path || ! $this->exists($path)) { |
|
| 81 | + if ( ! $path || ! $this->exists($path)) { |
|
| 82 | 82 | throw new SourceLocaleFileDoesntExist($locale); |
| 83 | 83 | } |
| 84 | 84 | } |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | { |
| 113 | 113 | $keys = Config::getExclude($key, [], true); |
| 114 | 114 | |
| 115 | - return array_filter($array, static function ($value) use ($keys) { |
|
| 115 | + return array_filter($array, static function($value) use ($keys) { |
|
| 116 | 116 | return in_array($value, $keys); |
| 117 | 117 | }, ARRAY_FILTER_USE_KEY); |
| 118 | 118 | } |