diff --git a/module/Core/test/Importer/ImportedLinksProcessorTest.php b/module/Core/test/Importer/ImportedLinksProcessorTest.php index 926901a9..183c54c1 100644 --- a/module/Core/test/Importer/ImportedLinksProcessorTest.php +++ b/module/Core/test/Importer/ImportedLinksProcessorTest.php @@ -231,7 +231,7 @@ class ImportedLinksProcessorTest extends TestCase $counts->skippedCount = 0; $this->io->method('text')->willReturnCallback( - function (string $output) use ($counts, $skippedText, $importedText) { + function (string $output) use ($counts, $skippedText, $importedText): void { if (str_contains($output, $skippedText)) { $counts->skippedCount++; } elseif (str_contains($output, $importedText)) {