9
9
*
10
10
* @param string $format Format accepted by DateTime::createFromFormat.
11
11
* @param string $datetime String representing the date/time.
12
- * @return \ array{year: int|false, month: int|false, day: int|false, hour: int|false, minute: int|false, second: int|false, fraction: float|false, warning_count: int, warnings: string[], error_count: int, errors: string[], is_localtime: bool, zone_type: int|bool, zone: int|bool, is_dst: bool, tz_abbr: string, tz_id: string, relative: \ array{year: int, month: int, day: int, hour: int, minute: int, second: int, weekday: int, weekdays: int, first_day_of_month: bool, last_day_of_month: bool}}|null Returns associative array with detailed info about given date/time.
12
+ * @return array{year: int|false, month: int|false, day: int|false, hour: int|false, minute: int|false, second: int|false, fraction: float|false, warning_count: int, warnings: string[], error_count: int, errors: string[], is_localtime: bool, zone_type: int|bool, zone: int|bool, is_dst: bool, tz_abbr: string, tz_id: string, relative: array{year: int, month: int, day: int, hour: int, minute: int, second: int, weekday: int, weekdays: int, first_day_of_month: bool, last_day_of_month: bool}}|null Returns associative array with detailed info about given date/time.
13
13
* @throws DatetimeException
14
14
*
15
15
*/
@@ -29,7 +29,7 @@ function date_parse_from_format(string $format, string $datetime): ?array
29
29
*
30
30
* @param string $datetime Date/time in format accepted by
31
31
* DateTimeImmutable::__construct.
32
- * @return \ array{year: int|false, month: int|false, day: int|false, hour: int|false, minute: int|false, second: int|false, fraction: float|false, warning_count: int, warnings: string[], error_count: int, errors: string[], is_localtime: bool, zone_type: int|bool, zone: int|bool, is_dst: bool, tz_abbr: string, tz_id: string, relative: \ array{year: int, month: int, day: int, hour: int, minute: int, second: int, weekday: int, weekdays: int, first_day_of_month: bool, last_day_of_month: bool}}|null Returns array with information about the parsed date/time
32
+ * @return array{year: int|false, month: int|false, day: int|false, hour: int|false, minute: int|false, second: int|false, fraction: float|false, warning_count: int, warnings: string[], error_count: int, errors: string[], is_localtime: bool, zone_type: int|bool, zone: int|bool, is_dst: bool, tz_abbr: string, tz_id: string, relative: array{year: int, month: int, day: int, hour: int, minute: int, second: int, weekday: int, weekdays: int, first_day_of_month: bool, last_day_of_month: bool}}|null Returns array with information about the parsed date/time
33
33
* on success.
34
34
* @throws DatetimeException
35
35
*
@@ -51,7 +51,7 @@ function date_parse(string $datetime): ?array
51
51
* @param int $timestamp Unix timestamp.
52
52
* @param float $latitude Latitude in degrees.
53
53
* @param float $longitude Longitude in degrees.
54
- * @return \ array Returns array on success.
54
+ * @return array Returns array on success.
55
55
* The structure of the array is detailed in the following list:
56
56
*
57
57
*
@@ -1004,7 +1004,7 @@ function strftime(string $format, int $timestamp = null): string
1004
1004
*
1005
1005
* For more information about the format options, read the
1006
1006
* strftime page.
1007
- * @return \ array Returns an array.
1007
+ * @return array Returns an array.
1008
1008
*
1009
1009
*
1010
1010
* The following parameters are returned in the array
0 commit comments