@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @return void |
56 | 56 | */ |
57 | - public function __construct(Filesystem $files, array|string $path) |
|
57 | + public function __construct(Filesystem $files, array | string $path) |
|
58 | 58 | { |
59 | 59 | $this->files = $files; |
60 | 60 | $this->path = is_string($path) ? [$path] : $path; |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | protected function loadFilePaths($locale, $group): array |
89 | 89 | { |
90 | 90 | return collect($this->path) |
91 | - ->reduce(function ($output, $path) use ($locale, $group) { |
|
91 | + ->reduce(function($output, $path) use ($locale, $group) { |
|
92 | 92 | $slash = DIRECTORY_SEPARATOR; |
93 | 93 | |
94 | 94 | if ($this->files->exists($fullPath = "{$path}$slash{$locale}$slash{$group}.php")) { |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | protected function loadJsonPaths($locale): array |
110 | 110 | { |
111 | 111 | return collect($this->path) |
112 | - ->reduce(function ($output, $path) use ($locale) { |
|
112 | + ->reduce(function($output, $path) use ($locale) { |
|
113 | 113 | $slash = DIRECTORY_SEPARATOR; |
114 | 114 | |
115 | 115 | if ($this->files->exists($fullPath = "{$path}$slash{$locale}.json")) { |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |------------------------------------------------------------------------ |
7 | 7 | | DateTime Language Lines |
8 | 8 | |------------------------------------------------------------------------ |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |------------------------------------------------------------------------ |
7 | 7 | | Vista de Líneas De Fecha y Hora |
8 | 8 | |------------------------------------------------------------------------ |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |------------------------------------------------------------------------ |
7 | 7 | | DateTime Language Lines |
8 | 8 | |------------------------------------------------------------------------ |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @return static |
126 | 126 | */ |
127 | - public function date(string|array $dates): static |
|
127 | + public function date(string | array $dates): static |
|
128 | 128 | { |
129 | 129 | foreach ((array) $dates as $date) { |
130 | 130 | $this->dates[] = new DateComparator($date); |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * |
141 | 141 | * @return static |
142 | 142 | */ |
143 | - public function path(string|array $patterns): static |
|
143 | + public function path(string | array $patterns): static |
|
144 | 144 | { |
145 | 145 | $this->paths = array_merge($this->paths, (array) $patterns); |
146 | 146 | |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * |
175 | 175 | * @throws DirectoryNotFoundException if one of the directories does not exist |
176 | 176 | */ |
177 | - public function in(string|array $dirs): static |
|
177 | + public function in(string | array $dirs): static |
|
178 | 178 | { |
179 | 179 | $resolvedDirs = []; |
180 | 180 |