Skip to content

Commit 04cf649

Browse files
committed
Apply fixes from StyleCI
1 parent eb68956 commit 04cf649

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
@@ -116,13 +116,13 @@ public function handle()
116116
->append(';'.PHP_EOL.PHP_EOL.'use Backpack\CRUD\app\Models\Traits\CrudTrait;');
117117

118118
$content = $content->after('namespace')->after(';');
119-
120-
while(str_starts_with($content, PHP_EOL) || str_starts_with($content, "\n")) {
119+
120+
while (str_starts_with($content, PHP_EOL) || str_starts_with($content, "\n")) {
121121
$content = substr($content, 1);
122122
}
123-
123+
124124
$modifiedContent = $modifiedContent->append(PHP_EOL.$content);
125-
125+
126126
// use the CrudTrait on the class
127127
$modifiedContent = $modifiedContent->replaceFirst('{', '{'.PHP_EOL.' use CrudTrait;');
128128

0 commit comments

Comments
 (0)