浏览代码

Fix incorrect type hinting in drush rex command.

Frederic G. MARAND 7 年之前
父节点
当前提交
3de4588645
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');