Skip to content

Commit

Permalink
Fix return type of DateTimeImmutable::__set_state()
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Dec 28, 2020
1 parent 9cec093 commit 46a2c6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/date/php_date.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function __construct(string $datetime = "now", ?DateTimeZone $timezone =
/** @return void */
public function __wakeup() {}

/** @return DateTimeZone */
/** @return DateTimeImmutable */
public static function __set_state(array $array) {}

/**
Expand Down
2 changes: 1 addition & 1 deletion ext/date/php_date_arginfo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 7b23a03d3c4941fb9a614de62d80fa5b0e11d14b */
* Stub hash: 339c2c91f38eeaafac6134ac04573243069502f5 */

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strtotime, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
Expand Down

0 comments on commit 46a2c6a

Please sign in to comment.