Skip to content

Commit e943883

Browse files
committed
Remove array_merge()
1 parent 6ecfbf5 commit e943883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/Entity/EntityBundleClass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function generate(array &$vars): void {
6868
$bundle_info->getBundleInfo($vars['entity_type_id']),
6969
);
7070
// Prepend an 'All' choice for user's convenience.
71-
$bundle_choices_all = \array_merge(['all' => 'All'], $bundle_choices);
71+
$bundle_choices_all = ['all' => 'All'] + $bundle_choices;
7272
$vars['bundle_ids'] = $this->choice('Bundles, comma separated', $bundle_choices_all, NULL, TRUE);
7373

7474
if (\in_array('all', $vars['bundle_ids'])) {

0 commit comments

Comments
 (0)