Browse Source

Fix incorrect type hinting in drush rex command.

Frederic G. MARAND 7 years ago
parent
commit
3de4588645
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reinstall.drush.inc

+ 1 - 1
reinstall.drush.inc

@@ -29,7 +29,7 @@ function reinstall_drush_command() {
  * @param array $bundles
  *   An array of bundle names to export.
  */
-function drush_reinstall_export($entity_type = NULL, array ...$bundles) {
+function drush_reinstall_export($entity_type = NULL, ...$bundles) {
 
   /** @var \Drupal\reinstall\Dumper $dumper */
   $dumper = \Drupal::service('reinstall.dumper');