From cdc8ccfb209279a9252c3fdee3e565c2754fee7d Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Fri, 29 Mar 2019 13:58:27 -0300 Subject: [PATCH] Typing. --- includes/regenerate_derivatives.form.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/regenerate_derivatives.form.inc b/includes/regenerate_derivatives.form.inc index 30b3a989..d43cd586 100644 --- a/includes/regenerate_derivatives.form.inc +++ b/includes/regenerate_derivatives.form.inc @@ -146,10 +146,10 @@ function islandora_regenerate_datastream_derivative_batch(AbstractDatastream $da * Whether we are forcing derivative regeneration or not. * @param array $hook * The derivative definition. - * @param array $context + * @param DrushBatchContext|array $context * The context of the current batch operation. */ -function islandora_derivative_perform_batch_operation($function, $file, $pid, $force, array $hook, array &$context) { +function islandora_derivative_perform_batch_operation($function, $file, $pid, $force, array $hook, &$context) { if ($file) { require_once $file; }