diff --git a/commands/core/drupal/batch.inc b/commands/core/drupal/batch.inc index 574df084f4..f353ef1362 100644 --- a/commands/core/drupal/batch.inc +++ b/commands/core/drupal/batch.inc @@ -13,11 +13,12 @@ use Drush\Log\LogLevel; * Saves a record of the batch into the database, and progressively call $command to * process the operations. * - * @param command + * @param string $command * The command to call to process the batch. - * + * @param array $args + * @param array $options */ -function _drush_backend_batch_process($command = 'batch-process', $args, $options) { +function _drush_backend_batch_process($command, $args, $options) { $batch =& batch_get(); if (isset($batch)) { diff --git a/commands/core/drupal/batch_6.inc b/commands/core/drupal/batch_6.inc index 11bbb5a8f2..f586ee3dc7 100644 --- a/commands/core/drupal/batch_6.inc +++ b/commands/core/drupal/batch_6.inc @@ -12,11 +12,12 @@ use Drush\Log\LogLevel; * Saves a record of the batch into the database, and progressively call $command to * process the operations. * - * @param command + * @param string $command * The command to call to process the batch. - * + * @param array $args + * @param array $options */ -function _drush_backend_batch_process($command = 'batch-process', $args, $options) { +function _drush_backend_batch_process($command, $args, $options) { $batch =& batch_get(); if (isset($batch)) { diff --git a/commands/core/drupal/batch_7.inc b/commands/core/drupal/batch_7.inc index bbb2089d28..6f3a6d1020 100644 --- a/commands/core/drupal/batch_7.inc +++ b/commands/core/drupal/batch_7.inc @@ -12,11 +12,12 @@ use Drush\Log\LogLevel; * Saves a record of the batch into the database, and progressively call $command to * process the operations. * - * @param command + * @param string $command * The command to call to process the batch. - * + * @param array $args + * @param array $options */ -function _drush_backend_batch_process($command = 'batch-process', $args, $options) { +function _drush_backend_batch_process($command, $args, $options) { $batch =& batch_get(); if (isset($batch)) {