Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HichemTab-tech committed Jul 25, 2023
1 parent e22a2c3 commit c6f44d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ public function handle(): int
$choice = trim($parts[1]);

$name = $this->ask('name of the class ?', $choice);
if ($name == 'My...') $name = 'My'.$choice;
if ($name == 'Custom...') $name = 'Custom'.$choice;
$stub = File::get(__DIR__."/stubs/$head/$choice.stub");
$stub = str_replace("//TO*DO", "//TODO", $stub);
$stub = str_replace("class $choice extends", "class $name extends", $stub);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace App\Actions\TokensValidation\Confirmation;

use HichemtabTech\TokensValidation\Actions\Confirmation\ConfirmationUrlBuilder as DefaultConfirmationUrlBuilder;
use HichemtabTech\TokensValidation\Model\Confirmation\ConfirmationToken;
use HichemtabTech\TokensValidation\Actions\Confirmation\UserIdAndToken;

/**
*
Expand All @@ -21,6 +22,7 @@ class ConfirmationUrlBuilder extends DefaultConfirmationUrlBuilder

public function __construct()
{
parent::__construct();
}

/**
Expand Down

0 comments on commit c6f44d0

Please sign in to comment.