@@ -23,7 +23,9 @@ discard block |
||
| 23 | 23 | */ |
| 24 | 24 | final class FrozenClock implements ClockInterface |
| 25 | 25 | { |
| 26 | - public function __construct(private DateTimeImmutable $now) {} |
|
| 26 | + public function __construct(private DateTimeImmutable $now) |
|
| 27 | + { |
|
| 28 | +} |
|
| 27 | 29 | |
| 28 | 30 | /** |
| 29 | 31 | * @inheritDoc |
@@ -51,7 +53,8 @@ discard block |
||
| 51 | 53 | * Ignoring the phpstan error for now. PHPStan and Psalm appear to fight over this a bit. |
| 52 | 54 | * Look further into it in the future. |
| 53 | 55 | */ |
| 54 | - if ($newNow !== false) { // @phpstan-ignore notIdentical.alwaysTrue |
|
| 56 | + if ($newNow !== false) { |
|
| 57 | +// @phpstan-ignore notIdentical.alwaysTrue |
|
| 55 | 58 | $this->setTo($newNow); |
| 56 | 59 | } |
| 57 | 60 | } |