Skip to content

Commit 17b3af2

Browse files
committed
GH-11964: In ext/date/php_date.stub.php, DateRangeError extends itself
According to the RFC[1] it's supposed to extend DateError. [1] https://wiki.php.net/rfc/datetime-exceptions
1 parent 67ab2b7 commit 17b3af2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/date/php_date.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ class DateObjectError extends DateError
766766
/**
767767
* @strict-properties
768768
*/
769-
class DateRangeError extends DateRangeError
769+
class DateRangeError extends DateError
770770
{
771771
}
772772

ext/date/php_date_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)