diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php index d5a31d3fd97a4..846644ab6c315 100644 --- a/tests/lib/TaskProcessing/TaskProcessingTest.php +++ b/tests/lib/TaskProcessing/TaskProcessingTest.php @@ -133,7 +133,7 @@ public function getOptionalOutputShape(): array { ]; } - public function process(?string $userId, array $input): array { + public function process(?string $userId, array $input, callable $reportProgress): array { return ['output' => $input['input']]; } } @@ -168,7 +168,7 @@ public function getOptionalOutputShape(): array { ]; } - public function process(?string $userId, array $input): array { + public function process(?string $userId, array $input, callable $reportProgress): array { throw new ProcessingException(self::ERROR_MESSAGE); } } @@ -202,7 +202,7 @@ public function getOptionalOutputShape(): array { ]; } - public function process(?string $userId, array $input): array { + public function process(?string $userId, array $input, callable $reportProgress): array { return []; } }