Skip to content

Commit 1e65347

Browse files
ruudkfabpot
authored andcommitted
Return Symfony ClockInterface in ClockSensitiveTrait
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?
1 parent 21f8f8e commit 1e65347

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)