Apply non-implicit nullables rule

[MAILPOET-6491]
This commit is contained in:
David Remer
2025-03-06 08:16:02 +02:00
committed by Ján Mikláš
parent 540feb6364
commit 0a3d49c0cd
134 changed files with 237 additions and 237 deletions

View File

@ -25,15 +25,15 @@ class StepRunController {
$this->stepRunLogger = $stepRunLogger;
}
public function scheduleProgress(int $timestamp = null): int {
public function scheduleProgress(?int $timestamp = null): int {
return $this->stepScheduler->scheduleProgress($this->stepRunArgs, $timestamp);
}
public function scheduleNextStep(int $timestamp = null): int {
public function scheduleNextStep(?int $timestamp = null): int {
return $this->stepScheduler->scheduleNextStep($this->stepRunArgs, $timestamp);
}
public function scheduleNextStepByIndex(int $nextStepIndex, int $timestamp = null): int {
public function scheduleNextStepByIndex(int $nextStepIndex, ?int $timestamp = null): int {
return $this->stepScheduler->scheduleNextStepByIndex($this->stepRunArgs, $nextStepIndex, $timestamp);
}