Skip to content

Commit c78ee57

Browse files
authored
PHPC-2417 Add UTCDateTimeInterface::toDateTimeImmutable() (#1684)
1 parent ae06481 commit c78ee57

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/BSON/UTCDateTimeInterface.stub.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ interface UTCDateTimeInterface
1111
{
1212
public function toDateTime(): \DateTime;
1313

14+
public function toDateTimeImmutable(): \DateTimeImmutable;
15+
1416
public function __toString(): string;
1517
}

src/BSON/UTCDateTimeInterface_arginfo.h

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)