From 06864d108a368e7ddf78459ed1cb089d419339e8 Mon Sep 17 00:00:00 2001 From: Ignace Nyamagana Butera Date: Fri, 28 Jan 2022 12:12:29 +0100 Subject: [PATCH] Bugfix DatePeriod::getEndDate declaration --- resources/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functionMap.php b/resources/functionMap.php index 6ac2e93c63..fd4ba6a6fa 100644 --- a/resources/functionMap.php +++ b/resources/functionMap.php @@ -1590,7 +1590,7 @@ 'DatePeriod::__construct\'2' => ['void', 'iso'=>'string', 'options='=>'int'], 'DatePeriod::__wakeup' => ['void'], 'DatePeriod::getDateInterval' => ['DateInterval'], -'DatePeriod::getEndDate' => ['DateTimeInterface'], +'DatePeriod::getEndDate' => ['?DateTimeInterface'], 'DatePeriod::getStartDate' => ['DateTimeInterface'], 'DateTime::__construct' => ['void', 'time='=>'string', 'timezone='=>'?DateTimeZone'], 'DateTime::__set_state' => ['static', 'array'=>'array'],