mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 17:13:49 +00:00
upgrade php-cs 3.49
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user