Skip to content

Commit c2bc884

Browse files
committed
feature symfony#53080 [Clock] Return Symfony ClockInterface in ClockSensitiveTrait (ruudk)
This PR was submitted for the 6.4 branch but it was merged into the 7.1 branch instead. Discussion ---------- [Clock] Return Symfony ClockInterface in ClockSensitiveTrait | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT `@nicolas`-grekas I don't understand why the ClockSensitiveTrait::mockTime returns a PSR ClockInterface, instead of a Symfony ClockInterface. Is this done on purpose? Or was this a mistake? Commits ------- 1e65347 Return Symfony ClockInterface in ClockSensitiveTrait
2 parents 21f8f8e + 1e65347 commit c2bc884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php

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

1212
namespace Symfony\Component\Clock\Test;
1313

14-
use Psr\Clock\ClockInterface;
14+
use Symfony\Component\Clock\ClockInterface;
1515
use Symfony\Component\Clock\Clock;
1616
use Symfony\Component\Clock\MockClock;
1717

0 commit comments

Comments
 (0)