Skip to content

Commit

Permalink
refactor: rename element folders
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikbehncke committed Aug 20, 2024
1 parent 269702b commit fdedd89
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CreateElementCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}

$finders = [
$name => (new Finder())->in("{$this->stubs}/element"),
$name => (new Finder())->in("{$this->stubs}/single-element"),
];

if ($ask(new ConfirmationQuestion('Create multiple items element? [y/N] ', false))) {
$finders = [
$name => (new Finder())->in("{$this->stubs}/multiple"),
"{$name}_item" => (new Finder())->in("{$this->stubs}/multiple_item"),
$name => (new Finder())->in("{$this->stubs}/multiple-element"),
"{$name}_item" => (new Finder())->in("{$this->stubs}/multiple-element_item"),
];
}

Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit fdedd89

Please sign in to comment.