Skip to content

Commit 99120c9

Browse files
Apply fixes from StyleCI (#630)
1 parent 6d7e2d2 commit 99120c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Tree.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ public function modelForContext(string $context, bool $throw = false)
5454

5555
$matches = array_filter(
5656
array_keys($this->models),
57-
fn ($key) => Str::endsWith(Str::afterLast(Str::afterLast($key, '\\'), '/'), [Str::studly($context), Str::studly(Str::plural($context))]
58-
));
57+
fn ($key) => Str::endsWith(
58+
Str::afterLast(Str::afterLast($key, '\\'), '/'),
59+
[Str::studly($context), Str::studly(Str::plural($context))]
60+
)
61+
);
5962

6063
if (count($matches) !== 1) {
6164
if ($throw) {

0 commit comments

Comments
 (0)