From 1e653474f59ca528dbd0cece0560c0c7fae06887 Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Thu, 14 Dec 2023 16:18:35 +0100 Subject: [PATCH] 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? --- src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php b/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php index 6fc4b49dc3c91..e2be851bd430a 100644 --- a/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php +++ b/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php @@ -11,7 +11,7 @@ namespace Symfony\Component\Clock\Test; -use Psr\Clock\ClockInterface; +use Symfony\Component\Clock\ClockInterface; use Symfony\Component\Clock\Clock; use Symfony\Component\Clock\MockClock;