Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/generator' into generator
Browse files Browse the repository at this point in the history
  • Loading branch information
smknstd committed Nov 2, 2023
2 parents d7006ff + c768898 commit 3e651c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Utils/WithModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function parseModel(string $model): string

$model = trim(str_replace('/', '\\', $model), '\\');

if (!app()->runningUnitTests() && ! Str::startsWith($model, $rootNamespace = $this->laravel->getNamespace())) {
if (! app()->runningUnitTests() && ! Str::startsWith($model, $rootNamespace = $this->laravel->getNamespace())) {
$model = $rootNamespace.$model;
}

Expand Down

0 comments on commit 3e651c7

Please sign in to comment.