Skip to content

Commit 6e636c4

Browse files
JakeQZshish
authored andcommitted
Silence a new PHPStan warning
This seems to have arisen as a result of a newer version of Stan.
1 parent 98d020e commit 6e636c4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/DateTimeImmutable.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ public static function createFromMutable($dateTime): self
240240
return self::createFromRegular($date);
241241
}
242242

243+
/**
244+
* @return DateTimeImmutable
245+
*/
243246
public static function createFromInterface(\DateTimeInterface $object): self
244247
{
245248
if ($object instanceof \DateTime) {

0 commit comments

Comments
 (0)