@@ -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 | |------------------------------------------------------------------------ |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * @license https://opensource.org/licenses/BSD-3-Clause New BSD license or see https://lenevor.com/license or see /license.md |
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | - namespace Syscodes\Components\Finder\Exceptions; |
|
| 23 | + namespace Syscodes\Components\Finder\Exceptions; |
|
| 24 | 24 | |
| 25 | 25 | use UnexpectedValueException; |
| 26 | 26 | |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * |
| 132 | 132 | * @return static |
| 133 | 133 | */ |
| 134 | - public function date(string|array $dates): static |
|
| 134 | + public function date(string | array $dates): static |
|
| 135 | 135 | { |
| 136 | 136 | foreach ((array) $dates as $date) { |
| 137 | 137 | $this->dates[] = new DateComparator($date); |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * |
| 148 | 148 | * @return static |
| 149 | 149 | */ |
| 150 | - public function path(string|array $patterns): static |
|
| 150 | + public function path(string | array $patterns): static |
|
| 151 | 151 | { |
| 152 | 152 | $this->paths = array_merge($this->paths, (array) $patterns); |
| 153 | 153 | |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * |
| 162 | 162 | * @return static |
| 163 | 163 | */ |
| 164 | - public function notPath(string|array $patterns): static |
|
| 164 | + public function notPath(string | array $patterns): static |
|
| 165 | 165 | { |
| 166 | 166 | $this->notPaths = array_merge($this->notPaths, (array) $patterns); |
| 167 | 167 | |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | * |
| 196 | 196 | * @throws DirectoryNotFoundException if one of the directories does not exist |
| 197 | 197 | */ |
| 198 | - public function in(string|array $dirs): static |
|
| 198 | + public function in(string | array $dirs): static |
|
| 199 | 199 | { |
| 200 | 200 | $resolvedDirs = []; |
| 201 | 201 | |