Mercurial > packages > magicforger
diff src/Generator/Generator.php @ 23:827efbf4d73c main-dev
Huge changes to the relationships for models and more complex
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Fri, 11 Apr 2025 20:50:20 -0400 |
| parents | ee8ef14e158d |
| children | 1a717c7b211f |
line wrap: on
line diff
--- a/src/Generator/Generator.php Wed Feb 26 20:12:17 2025 -0500 +++ b/src/Generator/Generator.php Fri Apr 11 20:50:20 2025 -0400 @@ -29,8 +29,9 @@ */ public function handle() { + // First we need to ensure that the table exists, then we can - if (!$this->tableExists($this->getTableInput())) { + if (! $this->tableExists($this->getTableInput())) { $this->components->error('The table: "'.$this->getTableInput().'" does not exist in the database.'); return false; @@ -80,8 +81,6 @@ /** * Get the console command options. - * - * @return array */ protected function getOptions(): array { @@ -96,16 +95,10 @@ /** * Interact further with the user if they were prompted for missing arguments. - * - * @return void */ - protected function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output):void - { - } + protected function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output): void {} - protected function getStub():void - { - } + protected function getStub(): void {} protected function createController(): void {
