We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ecfbf5 commit e943883Copy full SHA for e943883
src/Command/Entity/EntityBundleClass.php
@@ -68,7 +68,7 @@ protected function generate(array &$vars): void {
68
$bundle_info->getBundleInfo($vars['entity_type_id']),
69
);
70
// Prepend an 'All' choice for user's convenience.
71
- $bundle_choices_all = \array_merge(['all' => 'All'], $bundle_choices);
+ $bundle_choices_all = ['all' => 'All'] + $bundle_choices;
72
$vars['bundle_ids'] = $this->choice('Bundles, comma separated', $bundle_choices_all, NULL, TRUE);
73
74
if (\in_array('all', $vars['bundle_ids'])) {
0 commit comments