diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-13 20:03:00 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-16 10:56:33 +0200 |
| commit | d6264b09665c20ee73d7a1017db0730f9a7c7973 (patch) | |
| tree | bb465d70db16df73ce28bcc1fadab1a57dd92c02 /ext/date/php_date.stub.php | |
| parent | 3841ea338ef2508d467efef9ec45d03162ba695d (diff) | |
| download | php-git-d6264b09665c20ee73d7a1017db0730f9a7c7973.tar.gz | |
Verify parameter names of function aliases
Closes GH-6335
Diffstat (limited to 'ext/date/php_date.stub.php')
| -rw-r--r-- | ext/date/php_date.stub.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/php_date.stub.php b/ext/date/php_date.stub.php index c92ea0b4ff..7e22ee23d1 100644 --- a/ext/date/php_date.stub.php +++ b/ext/date/php_date.stub.php @@ -69,7 +69,7 @@ function date_time_set( function date_date_set(DateTime $object, int $year, int $month, int $day): DateTime {} -function date_isodate_set(DateTime $object, int $year, int $week, int $day = 1): DateTime {} +function date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek = 1): DateTime {} function date_timestamp_set(DateTime $object, int $timestamp): DateTime {} @@ -291,7 +291,7 @@ class DateTimeImmutable implements DateTimeInterface * @return DateInterval|false * @alias date_diff */ - public function diff(DateTimeInterface $object, bool $absolute = false) {} + public function diff(DateTimeInterface $targetObject, bool $absolute = false) {} /** @return DateTimeImmutable|false */ public function modify(string $modifier) {} @@ -337,7 +337,7 @@ class DateTimeZone * @return int * @alias timezone_offset_get */ - public function getOffset(DateTimeInterface $object) {} + public function getOffset(DateTimeInterface $datetime) {} /** * @return array|false |
