summaryrefslogtreecommitdiff
path: root/ext/date/php_date.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/php_date.stub.php')
-rw-r--r--ext/date/php_date.stub.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/date/php_date.stub.php b/ext/date/php_date.stub.php
index 13d301ee9f..b76f0bd1df 100644
--- a/ext/date/php_date.stub.php
+++ b/ext/date/php_date.stub.php
@@ -194,6 +194,13 @@ class DateTimeImmutable implements DateTimeInterface {
public static function createFromMutable(DateTime $object);
/** @return DateTimeImmutable|false */
+ public static function createFromFormat(
+ string $format, string $time, ?DateTimeZone $timezone = null);
+
+ /** @return array|false */
+ public static function getLastErrors();
+
+ /** @return DateTimeImmutable|false */
public function modify(string $modify);
/** @return DateTimeImmutable */