From 4c0c0fce993c6ecb18c9a8e760145e37291d6491 Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Mon, 12 Aug 2024 18:07:39 +0600 Subject: [PATCH] pkp/pkp-lib#9899 added proper return type hints --- .../statistics/CompileCounterSubmissionDailyMetricsTest.php | 2 +- .../CompileCounterSubmissionInstitutionDailyMetricsTest.php | 2 +- tests/jobs/statistics/CompileSubmissionGeoDailyMetricsTest.php | 2 +- tests/jobs/statistics/CompileUniqueInvestigationsTest.php | 2 +- tests/jobs/statistics/CompileUniqueRequestsTest.php | 2 +- tests/jobs/statistics/DeleteUsageStatsTemporaryRecordsTest.php | 2 +- tests/jobs/statistics/ProcessUsageStatsLogFileTest.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/jobs/statistics/CompileCounterSubmissionDailyMetricsTest.php b/tests/jobs/statistics/CompileCounterSubmissionDailyMetricsTest.php index d5e959d362..ad6baec2fb 100644 --- a/tests/jobs/statistics/CompileCounterSubmissionDailyMetricsTest.php +++ b/tests/jobs/statistics/CompileCounterSubmissionDailyMetricsTest.php @@ -45,7 +45,7 @@ public function testUnserializationGetProperDepositIssueJobInstance(): void /** * Ensure that a serialized job can be unserialized and executed */ - public function testRunSerializedJob() + public function testRunSerializedJob(): void { /** @var CompileCounterSubmissionDailyMetrics $compileCounterSubmissionDailyMetricsJob */ $compileCounterSubmissionDailyMetricsJob = unserialize($this->serializedJobData); diff --git a/tests/jobs/statistics/CompileCounterSubmissionInstitutionDailyMetricsTest.php b/tests/jobs/statistics/CompileCounterSubmissionInstitutionDailyMetricsTest.php index f1f427b4fb..c8ef10c4bb 100644 --- a/tests/jobs/statistics/CompileCounterSubmissionInstitutionDailyMetricsTest.php +++ b/tests/jobs/statistics/CompileCounterSubmissionInstitutionDailyMetricsTest.php @@ -45,7 +45,7 @@ public function testUnserializationGetProperDepositIssueJobInstance(): void /** * Ensure that a serialized job can be unserialized and executed */ - public function testRunSerializedJob() + public function testRunSerializedJob(): void { /** @var CompileCounterSubmissionInstitutionDailyMetrics $compileCounterSubmissionInstitutionDailyMetricsJob */ $compileCounterSubmissionInstitutionDailyMetricsJob = unserialize($this->serializedJobData); diff --git a/tests/jobs/statistics/CompileSubmissionGeoDailyMetricsTest.php b/tests/jobs/statistics/CompileSubmissionGeoDailyMetricsTest.php index f5eb01bf66..16dc6f7674 100644 --- a/tests/jobs/statistics/CompileSubmissionGeoDailyMetricsTest.php +++ b/tests/jobs/statistics/CompileSubmissionGeoDailyMetricsTest.php @@ -45,7 +45,7 @@ public function testUnserializationGetProperDepositIssueJobInstance(): void /** * Ensure that a serialized job can be unserialized and executed */ - public function testRunSerializedJob() + public function testRunSerializedJob(): void { /** @var CompileSubmissionGeoDailyMetrics $compileSubmissionGeoDailyMetricsJob */ $compileSubmissionGeoDailyMetricsJob = unserialize($this->serializedJobData); diff --git a/tests/jobs/statistics/CompileUniqueInvestigationsTest.php b/tests/jobs/statistics/CompileUniqueInvestigationsTest.php index e8e240a90d..a5ee31b90a 100644 --- a/tests/jobs/statistics/CompileUniqueInvestigationsTest.php +++ b/tests/jobs/statistics/CompileUniqueInvestigationsTest.php @@ -45,7 +45,7 @@ public function testUnserializationGetProperDepositIssueJobInstance(): void /** * Ensure that a serialized job can be unserialized and executed */ - public function testRunSerializedJob() + public function testRunSerializedJob(): void { /** @var CompileUniqueInvestigations $compileUniqueInvestigationsJob */ $compileUniqueInvestigationsJob = unserialize($this->serializedJobData); diff --git a/tests/jobs/statistics/CompileUniqueRequestsTest.php b/tests/jobs/statistics/CompileUniqueRequestsTest.php index 09231862f1..c24717ae0f 100644 --- a/tests/jobs/statistics/CompileUniqueRequestsTest.php +++ b/tests/jobs/statistics/CompileUniqueRequestsTest.php @@ -45,7 +45,7 @@ public function testUnserializationGetProperDepositIssueJobInstance(): void /** * Ensure that a serialized job can be unserialized and executed */ - public function testRunSerializedJob() + public function testRunSerializedJob(): void { /** @var CompileUniqueRequests $compileUniqueRequestsJob */ $compileUniqueRequestsJob = unserialize($this->serializedJobData); diff --git a/tests/jobs/statistics/DeleteUsageStatsTemporaryRecordsTest.php b/tests/jobs/statistics/DeleteUsageStatsTemporaryRecordsTest.php index 801796370c..90e8201bed 100644 --- a/tests/jobs/statistics/DeleteUsageStatsTemporaryRecordsTest.php +++ b/tests/jobs/statistics/DeleteUsageStatsTemporaryRecordsTest.php @@ -45,7 +45,7 @@ public function testUnserializationGetProperDepositIssueJobInstance(): void /** * Ensure that a serialized job can be unserialized and executed */ - public function testRunSerializedJob() + public function testRunSerializedJob(): void { /** @var DeleteUsageStatsTemporaryRecords $deleteUsageStatsTemporaryRecordsJob */ $deleteUsageStatsTemporaryRecordsJob = unserialize($this->serializedJobData); diff --git a/tests/jobs/statistics/ProcessUsageStatsLogFileTest.php b/tests/jobs/statistics/ProcessUsageStatsLogFileTest.php index b95e1a7465..67072daf56 100644 --- a/tests/jobs/statistics/ProcessUsageStatsLogFileTest.php +++ b/tests/jobs/statistics/ProcessUsageStatsLogFileTest.php @@ -53,7 +53,7 @@ public function testUnserializationGetProperDepositIssueJobInstance(): void /** * Ensure that a serialized job can be unserialized and executed */ - public function testRunSerializedJob() + public function testRunSerializedJob(): void { /** @var ProcessUsageStatsLogFile $processUsageStatsLogFileJob */ $processUsageStatsLogFileJob = unserialize($this->serializedJobData);