Explorar o código

Fix incorrect type hinting in drush rex command.

Frederic G. MARAND %!s(int64=7) %!d(string=hai) anos
pai
achega
3de4588645
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');