Skip to content

Commit 38114e3

Browse files
committed
fixed a type error in php 7.2
1 parent eb3cda5 commit 38114e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DateTimeImmutable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public static function createFromMutable($dateTime): self
226226
* @param mixed[] $array
227227
* @return DateTimeImmutable
228228
*/
229-
public static function __set_state(array $array): self
229+
public static function __set_state($array): self
230230
{
231231
return self::createFromRegular(parent::__set_state($array));
232232
}

0 commit comments

Comments
 (0)