Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshSalway committed Dec 20, 2024
1 parent 031f3fd commit 773b761
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Illuminate/Foundation/Console/ApiInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,6 @@ protected function addTraitToModel(string $trait, string $model)
return;
}

// Confirm with the user before making changes
if (! $this->components->confirm(
"Would you like to add the [$trait] trait to your [$model] model now?",
true
)) {
$this->components->info("No changes were made to your [$model] model.");
return;
}

$modified = false;

// Add the top-level `use` statement if missing
Expand Down

0 comments on commit 773b761

Please sign in to comment.