Skip to content

Commit f9ee84b

Browse files
olivierchabertondrejmirtes
authored andcommitted
Fix date_time_set function signature
`date_time_set` has 5 parameters but only 3 are mandatory. `$second` and `$microseconds` are optional with 0 as the default value.
1 parent 4e5a697 commit f9ee84b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Reflection/SignatureMap/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@
15551555
'date_sun_info' => ['array', 'time'=>'int', 'latitude'=>'float', 'longitude'=>'float'],
15561556
'date_sunrise' => ['mixed', 'time'=>'int', 'format='=>'int', 'latitude='=>'float', 'longitude='=>'float', 'zenith='=>'float', 'gmt_offset='=>'float'],
15571557
'date_sunset' => ['mixed', 'time'=>'int', 'format='=>'int', 'latitude='=>'float', 'longitude='=>'float', 'zenith='=>'float', 'gmt_offset='=>'float'],
1558-
'date_time_set' => ['DateTime|false', 'object'=>'', 'hour'=>'', 'minute'=>'', 'second'=>'', 'microseconds'=>''],
1558+
'date_time_set' => ['DateTime|false', 'object'=>'', 'hour'=>'', 'minute'=>'', 'second='=>'', 'microseconds='=>''],
15591559
'date_timestamp_get' => ['int', 'obj'=>'DateTimeInterface'],
15601560
'date_timestamp_set' => ['DateTime|false', 'object'=>'DateTime', 'unixtimestamp'=>'int'],
15611561
'date_timezone_get' => ['DateTimeZone', 'obj'=>'DateTimeInterface'],

0 commit comments

Comments
 (0)