Skip to content

Commit a5dd74d

Browse files
committed
Update code-style 💻
1 parent c968d9c commit a5dd74d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Processors/Processor.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ protected function getFiles(?Closure $filter = null, ?string $path = null, bool
5050
$names = $this->file->exists($path) ? [$path] : $this->file->allPaths($path, $filter, true);
5151

5252
return Arr::of($names)
53-
->when(! $fullpath, fn (Arrayable $array) => $array
54-
->map(fn (string $value) => Str::of(realpath($value))->after(realpath($path))->ltrim('\\/')->toString())
53+
->when(
54+
! $fullpath,
55+
fn (Arrayable $array) => $array
56+
->map(fn (string $value) => Str::of(realpath($value))->after(realpath($path))->ltrim('\\/')->toString())
5557
)
5658
->toArray();
5759
}

0 commit comments

Comments
 (0)