Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c78ee57

Browse filesBrowse files
authored
PHPC-2417 Add UTCDateTimeInterface::toDateTimeImmutable() (#1684)
1 parent ae06481 commit c78ee57
Copy full SHA for c78ee57

File tree

Expand file treeCollapse file tree

2 files changed

+7
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-1
lines changed

‎src/BSON/UTCDateTimeInterface.stub.php

Copy file name to clipboardExpand all lines: src/BSON/UTCDateTimeInterface.stub.php
+2Lines 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

Copy file name to clipboardExpand all lines: src/BSON/UTCDateTimeInterface_arginfo.h
+5-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.