upgrade php-cs 3.49

This commit is contained in:
2024-02-07 10:43:53 +01:00
parent 51ebc253aa
commit 036fe8d6f8
257 changed files with 605 additions and 605 deletions

View File

@@ -28,5 +28,5 @@ interface CronJobInterface
*
* @return array|null optionally return an array with the same data than the previous execution
*/
public function run(array $lastExecutionData): null|array;
public function run(array $lastExecutionData): array|null;
}

View File

@@ -58,7 +58,7 @@ final readonly class CronManager implements CronManagerInterface
) {
}
public function run(string $forceJob = null): void
public function run(?string $forceJob = null): void
{
if (null !== $forceJob) {
$this->runForce($forceJob);

View File

@@ -16,5 +16,5 @@ interface CronManagerInterface
/**
* Execute one job, with a given priority, or the given job (identified by his key).
*/
public function run(string $forceJob = null): void;
public function run(?string $forceJob = null): void;
}