Skip to content

Commit 68b2f32

Browse files
VincentLangletisfedorov
authored andcommitted
Fix return type
1 parent 646f4c4 commit 68b2f32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

date/date_c.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public function __wakeup(): void {}
490490

491491
/**
492492
* @param DateTimeInterface $object
493-
* @return DateTimeImmutable
493+
* @return static
494494
* @since 8.0
495495
*/
496496
public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {}
@@ -881,7 +881,7 @@ public static function __set_state($array) {}
881881

882882
/**
883883
* @param DateTimeInterface $object
884-
* @return DateTime
884+
* @return static
885885
* @since 8.0
886886
*/
887887
public static function createFromInterface(DateTimeInterface $object): DateTime {}

0 commit comments

Comments
 (0)