Skip to content

Commit 98071ac

Browse files
committed
Apply fixes from StyleCI
1 parent 20fa6ee commit 98071ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Console/Commands/CrudModelBackpackCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ public function handle()
115115
->append(';'.PHP_EOL.PHP_EOL.'use Backpack\CRUD\app\Models\Traits\CrudTrait;');
116116

117117
$content = $content->after(';');
118-
119-
while(str_starts_with($content, PHP_EOL) || str_starts_with($content, "\n")) {
118+
119+
while (str_starts_with($content, PHP_EOL) || str_starts_with($content, "\n")) {
120120
$content = substr($content, 1);
121121
}
122-
122+
123123
$modifiedContent = $modifiedContent->append(PHP_EOL.$content);
124-
124+
125125
// use the CrudTrait on the class
126126
$modifiedContent = $modifiedContent->replaceFirst('{', '{'.PHP_EOL.' use CrudTrait;');
127127

0 commit comments

Comments
 (0)