From 32439f83ef3cca191820c3b6566936dad1ca61ca Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Tue, 29 Jul 2025 00:39:02 +0200 Subject: [PATCH] Fix return type --- date/date_c.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/date/date_c.php b/date/date_c.php index c60b60263..7446b39d4 100644 --- a/date/date_c.php +++ b/date/date_c.php @@ -471,7 +471,7 @@ public function __wakeup(): void {} /** * @param DateTimeInterface $object - * @return DateTimeImmutable + * @return static * @since 8.0 */ public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {} @@ -844,7 +844,7 @@ public static function __set_state($array) {} /** * @param DateTimeInterface $object - * @return DateTime + * @return static * @since 8.0 */ public static function createFromInterface(DateTimeInterface $object): DateTime {}