Skip to content

Commit 56f6c40

Browse files
committed
updating the stub file
1 parent 8acc52c commit 56f6c40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/date/php_date.stub.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ public static function __set_state(array $array);
146146
/** @return DateTime */
147147
public static function createFromImmutable(DateTimeImmutable $object);
148148

149+
/** @return DateTime */
150+
public static function createFromInterface(DateTimeInterface $object);
151+
149152
/** @return DateTime|false */
150153
public static function createFromFormat(
151154
string $format, string $time, ?DateTimeZone $timezone = null);
@@ -187,6 +190,9 @@ public static function __set_state(array $array);
187190
/** @return DateTimeImmutable */
188191
public static function createFromMutable(DateTime $object);
189192

193+
/** @return DateTimeImmutable */
194+
public static function createFromInterface(DateTimeInterface $object);
195+
190196
/** @return DateTimeImmutable|false */
191197
public static function createFromFormat(
192198
string $format, string $time, ?DateTimeZone $timezone = null);

0 commit comments

Comments
 (0)