Skip to content

Commit 428ba4c

Browse files
minor #63566 [Messenger] Make $clock nullable in PostgreSqlNotifyOnIdleListener (nicolas-grekas)
This PR was merged into the 8.1 branch. Discussion ---------- [Messenger] Make $clock nullable in PostgreSqlNotifyOnIdleListener | Q | A | ------------- | --- | Branch? | 8.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT This makes conditional wiring easier, as spotted in doctrine/DoctrineBundle#2204 Commits ------- 52e6cd3f1de [Messenger] Make $clock nullable in PostgreSqlNotifyOnIdleListener
2 parents ba21d3d + bd81abb commit 428ba4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Handler/Acknowledger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Messenger\Handler;
1313

14-
use Psr\Clock\ClockInterface;
1514
use Symfony\Component\Clock\Clock;
15+
use Symfony\Component\Clock\ClockInterface;
1616
use Symfony\Component\Messenger\Exception\LogicException;
1717

1818
/**

Handler/BatchHandlerTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Messenger\Handler;
1313

14-
use Psr\Clock\ClockInterface;
1514
use Symfony\Component\Clock\Clock;
15+
use Symfony\Component\Clock\ClockInterface;
1616

1717
/**
1818
* @author Nicolas Grekas <p@tchwork.com>

0 commit comments

Comments
 (0)