Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Sep 9, 2023
1 parent 6f97fd9 commit 23c2470
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/Commands/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,26 +194,6 @@ public function generatingCode(string $stub, string $className): string
return $stub;
}

/**
* Code already exists.
*/
public function codeAlreadyExists(string $className): int
{
$this->components->error(sprintf('%s [%s] already exists!', $this->type, $className));

return 1;
}

/**
* Code successfully generated.
*/
public function codeHasBeenGenerated(string $className): int
{
$this->components->info(sprintf('%s [%s] created successfully.', $this->type, $className));

return 0;
}

/**
* Run after code successfully generated.
*
Expand Down

0 comments on commit 23c2470

Please sign in to comment.