Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2bc884

Browse files
committed
feature#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 parents21f8f8e +1e65347 commitc2bc884

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
namespaceSymfony\Component\Clock\Test;
1313

14-
usePsr\Clock\ClockInterface;
14+
useSymfony\Component\Clock\ClockInterface;
1515
useSymfony\Component\Clock\Clock;
1616
useSymfony\Component\Clock\MockClock;
1717

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp