diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php index ac0b6ba..20ae266 100644 --- a/core/lib/Drupal/Core/Config/ConfigImporter.php +++ b/core/lib/Drupal/Core/Config/ConfigImporter.php @@ -544,7 +544,7 @@ public function initialize() { /** * Processes extensions as a batch operation. * - * @param $context. + * @param array|\ArrayAccess $context. * The batch context. */ protected function processExtensions(&$context) { @@ -564,7 +564,7 @@ protected function processExtensions(&$context) { /** * Processes configuration as a batch operation. * - * @param $context. + * @param array|\ArrayAccess $context. * The batch context. */ protected function processConfigurations(&$context) { @@ -607,7 +607,7 @@ protected function processConfigurations(&$context) { /** * Handles processing of missing content. * - * @param $context + * @param array|\ArrayAccess $context. * Standard batch context. */ protected function processMissingContent(&$context) { @@ -639,7 +639,7 @@ protected function processMissingContent(&$context) { /** * Finishes the batch. * - * @param $context. + * @param array|\ArrayAccess $context. * The batch context. */ protected function finish(&$context) { diff --git a/core/lib/Drupal/Core/Form/form.api.php b/core/lib/Drupal/Core/Form/form.api.php index 076845a..41d1441 100644 --- a/core/lib/Drupal/Core/Form/form.api.php +++ b/core/lib/Drupal/Core/Form/form.api.php @@ -18,7 +18,7 @@ * @param $MULTIPLE_PARAMS * Additional parameters specific to the batch. These are specified in the * array passed to batch_set(). - * @param $context + * @param array|\ArrayAccess $context. * The batch context array, passed by reference. This contains the following * properties: * - 'finished': A float number between 0 and 1 informing the processing diff --git a/core/modules/locale/locale.batch.inc b/core/modules/locale/locale.batch.inc index cf1bf41..81ca966 100644 --- a/core/modules/locale/locale.batch.inc +++ b/core/modules/locale/locale.batch.inc @@ -33,7 +33,7 @@ * batch is finished. Optional, defaults to TRUE. * - 'use_remote': Whether or not to check the remote translation file. * Optional, defaults to TRUE. - * @param $context + * @param array|\ArrayAccess $context. * The batch context. */ function locale_translation_batch_status_check($project, $langcode, array $options, &$context) { diff --git a/core/modules/locale/locale.bulk.inc b/core/modules/locale/locale.bulk.inc index 8b8ede0..fcf98c3 100644 --- a/core/modules/locale/locale.bulk.inc +++ b/core/modules/locale/locale.bulk.inc @@ -185,7 +185,7 @@ function locale_translate_batch_build(array $files, array $options) { * LOCALE_NOT_CUSTOMIZED. * - 'message': Alternative message to display during import. Note, this must * be sanitized text. - * @param $context + * @param array|\ArrayAccess $context. * Contains a list of files imported. */ function locale_translate_batch_import($file, array $options, &$context) { @@ -268,10 +268,10 @@ function locale_translate_batch_import($file, array $options, &$context) { * * Save data of imported files. * - * @param array $context + * @param array|\ArrayAccess $context. * Contains a list of imported files. */ -function locale_translate_batch_import_save(array $context) { +function locale_translate_batch_import_save($context) { if (isset($context['results']['files'])) { foreach ($context['results']['files'] as $file) { // Update the file history if both project and version are known. This @@ -293,7 +293,7 @@ function locale_translate_batch_import_save(array $context) { * * Refreshes translations after importing strings. * - * @param $context + * @param array|\ArrayAccess $context. * Contains a list of strings updated and information about the progress. */ function locale_translate_batch_refresh(&$context) { @@ -597,7 +597,7 @@ function locale_config_batch_build(array $names, array $langcodes, array $option * An array of names of configuration objects to update. * @param array $langcodes * (optional) Array of language codes to update. Defaults to all languages. - * @param $context + * @param array|\ArrayAccess $context. * Contains a list of files imported. * * @see locale_config_batch_build() diff --git a/core/modules/node/node.admin.inc b/core/modules/node/node.admin.inc index 11eed20..49a94d8 100644 --- a/core/modules/node/node.admin.inc +++ b/core/modules/node/node.admin.inc @@ -108,7 +108,7 @@ function _node_mass_update_helper(NodeInterface $node, array $updates, $langcode * @param bool $revisions * (optional) TRUE if $nodes contains an array of revision IDs instead of * node IDs. Defaults to FALSE; will be ignored if $load is FALSE. - * @param $context + * @param array|\ArrayAccess $context. * An array of contextual key/values. */ function _node_mass_update_batch_process(array $nodes, array $updates, $load, $revisions, &$context) {