Skip to content

Commit 71bb869

Browse files
author
Brian Faust
authored
Fix lint (#616)
1 parent 5106c17 commit 71bb869

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Concerns/HandlesImports.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ protected function addImport(Model $model, $class)
1616
protected function buildImports(Model $model)
1717
{
1818
return collect($this->imports[$model->name()])
19-
->map(fn ($class) => "use {$class};")
20-
->unique()
21-
->sort()
22-
->implode(PHP_EOL);
19+
->map(fn ($class) => "use {$class};")
20+
->unique()
21+
->sort()
22+
->implode(PHP_EOL);
2323
}
2424
}

src/Concerns/HandlesTraits.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ protected function buildTraits(Model $model)
2020
}
2121

2222
$traits = collect($this->traits[$model->name()])
23-
->unique()
24-
->sort()
25-
->implode(', ');
23+
->unique()
24+
->sort()
25+
->implode(', ');
2626

2727
return "use {$traits};";
2828
}

0 commit comments

Comments
 (0)