Skip to content

Commit

Permalink
Remove redundant code from ExtendedRuleMakeCommand
Browse files Browse the repository at this point in the history
This commit removes the redundant call to the handleDomainOption() method in the ExtendedRuleMakeCommand class, as it is no longer necessary due to changes in the code.
  • Loading branch information
salehhashemi1992 committed May 5, 2023
1 parent d402ffe commit f4da330
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Console/ExtendedRuleMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ protected function configure()

public function handle(): bool|null
{
$this->handleDomainOption();

if ($this->option('ai')) {
// Ask the user for the desired rule content
$ruleDescription = $this->ask('Please describe the validation rule you want to generate (e.g., "validate unique email")');
Expand Down

0 comments on commit f4da330

Please sign in to comment.