Skip to content

Commit

Permalink
pkp/pkp-lib#9899 added proper return type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir authored and asmecher committed Aug 12, 2024
1 parent f994cfd commit 4c0c0fc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tests/jobs/statistics/CompileUniqueInvestigationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tests/jobs/statistics/CompileUniqueRequestsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tests/jobs/statistics/ProcessUsageStatsLogFileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4c0c0fc

Please sign in to comment.