8000 Move properties above `__construct()` method · symfony/symfony@36cb3bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 36cb3bf

Browse files
committed
Move properties above __construct() method
1 parent 12e4e53 commit 36cb3bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Symfony/Component/Scheduler/Schedule.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121

2222
final class Schedule implements ScheduleProviderInterface
2323
{
24-
public function __construct(
25-
private readonly ?EventDispatcherInterface $dispatcher = null,
26-
) {
27-
}
28-
2924
/** @var array<string,RecurringMessage> */
3025
private array $messages = [];
3126
private ?LockInterface $lock = null;
3227
private ?CacheInterface $state = null;
3328
private bool $shouldRestart = false;
3429
private bool $onlyLastMissed = false;
3530

31+
public function __construct(
32+
private readonly ?EventDispatcherInterface $dispatcher = null,
33+
) {
34+
}
35+
3636
public function with(RecurringMessage $message, RecurringMessage ...$messages): static
3737
{
3838
return static::doAdd(new self($this->dispatcher), $message, ...$messages);

0 commit comments

Comments
 (0)
0