Skip to content

Commit 25c39b0

Browse files
committed
Regenerate files
1 parent 8ca1319 commit 25c39b0

File tree

13 files changed

+17
-43
lines changed

13 files changed

+17
-43
lines changed

generated/apcu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @param bool $limited If limited is TRUE, the
1111
* return value will exclude the individual list of cache entries. This
1212
* is useful when trying to optimize calls for statistics gathering.
13-
* @return array Array of cached data (and meta-data)
13+
* @return \array Array of cached data (and meta-data)
1414
* @throws ApcuException
1515
*
1616
*/

generated/array.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,6 @@
44

55
use Safe\Exceptions\ArrayException;
66

7-
/**
8-
* Creates an array by using the values from the
9-
* keys array as keys and the values from the
10-
* values array as the corresponding values.
11-
*
12-
* @param \array $keys Array of keys to be used. Illegal values for key will be
13-
* converted to string.
14-
* @param \array $values Array of values to be used
15-
* @return \array Returns the combined array, FALSE if the number of elements
16-
* for each array isn't equal.
17-
* @throws ArrayException
18-
*
19-
*/
20-
function array_combine(array $keys, array $values): array
21-
{
22-
error_clear_last();
23-
$result = \array_combine($keys, $values);
24-
if ($result === false) {
25-
throw ArrayException::createFromPhpError();
26-
}
27-
return $result;
28-
}
29-
30-
317
/**
328
* array_replace_recursive replaces the values of
339
* array with the same values from all the following

generated/datetime.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @param string $format Format accepted by DateTime::createFromFormat.
1111
* @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.
1313
* @throws DatetimeException
1414
*
1515
*/
@@ -29,7 +29,7 @@ function date_parse_from_format(string $format, string $datetime): ?array
2929
*
3030
* @param string $datetime Date/time in format accepted by
3131
* 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
3333
* on success.
3434
* @throws DatetimeException
3535
*

generated/dir.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function opendir(string $directory, $context = null)
113113
* @param resource $context For a description of the context parameter,
114114
* refer to the streams section of
115115
* the manual.
116-
* @return array Returns an array of filenames on success. If directory is not a directory, then
116+
* @return \array Returns an array of filenames on success. If directory is not a directory, then
117117
* boolean FALSE is returned, and an error of level
118118
* E_WARNING is generated.
119119
* @throws DirException

generated/filesystem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ function file_put_contents(string $filename, $data, int $flags = 0, $context = n
453453
*
454454
*
455455
* @param resource $context
456-
* @return array Returns the file in an array. Each element of the array corresponds to a
456+
* @return \array Returns the file in an array. Each element of the array corresponds to a
457457
* line in the file, with the newline still attached. Upon failure,
458458
* file returns FALSE.
459459
* @throws FilesystemException
@@ -1131,7 +1131,7 @@ function fwrite($stream, string $data, int $length = null): int
11311131
* systems, like Solaris or Alpine Linux.
11321132
*
11331133
*
1134-
* @return array Returns an array containing the matched files/directories, an empty array
1134+
* @return \array Returns an array containing the matched files/directories, an empty array
11351135
* if no file matched.
11361136
* @throws FilesystemException
11371137
*

generated/functionsList.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
'apcu_inc',
1515
'apcu_sma_info',
1616
'apc_fetch',
17-
'array_combine',
1817
'array_replace',
1918
'array_replace_recursive',
2019
'array_walk_recursive',

generated/image.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function imageaffine($image, array $affine, array $clip = null)
163163
* 0 to 5 and float values).
164164
* @param \array $matrix2 An affine transformation matrix (an array with keys
165165
* 0 to 5 and float values).
166-
* @return array{0:float,1:float,2:float,3:float,4:float,5:float} An affine transformation matrix (an array with keys
166+
* @return \array{0:float,1:float,2:float,3:float,4:float,5:float} An affine transformation matrix (an array with keys
167167
* 0 to 5 and float values).
168168
* @throws ImageException
169169
*
@@ -191,7 +191,7 @@ function imageaffinematrixconcat(array $matrix1, array $matrix2): array
191191
* If type is IMG_AFFINE_ROTATE,
192192
* IMG_AFFINE_SHEAR_HORIZONTAL or IMG_AFFINE_SHEAR_VERTICAL,
193193
* options has to be a float specifying the angle.
194-
* @return array{0:float,1:float,2:float,3:float,4:float,5:float} An affine transformation matrix (an array with keys
194+
* @return \array{0:float,1:float,2:float,3:float,4:float,5:float} An affine transformation matrix (an array with keys
195195
* 0 to 5 and float values).
196196
* @throws ImageException
197197
*

generated/mbstring.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function mb_chr(int $codepoint, string $encoding = null): string
4040
* If string is an array, all its string values will be
4141
* converted recursively.
4242
*
43-
* @param string|array $string The string or array to be converted.
43+
* @param string|\array $string The string or array to be converted.
4444
* @param string $to_encoding The desired encoding of the result.
4545
* @param mixed $from_encoding The current encoding used to interpret string.
4646
* Multiple encodings may be specified as an array or comma separated
@@ -54,7 +54,7 @@ function mb_chr(int $codepoint, string $encoding = null): string
5454
* See supported encodings
5555
* for valid values of to_encoding
5656
* and from_encoding.
57-
* @return string|array The encoded string or array on success.
57+
* @return string|\array The encoded string or array on success.
5858
* @throws MbstringException
5959
*
6060
*/

generated/misc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function highlight_string(string $string, bool $return = false)
9797
*
9898
* @param bool $as_number Whether the high resolution time should be returned as array
9999
* or number.
100-
* @return array{0:int,1:int}|int|float Returns an array of integers in the form [seconds, nanoseconds], if the
100+
* @return \array{0:int,1:int}|int|float Returns an array of integers in the form [seconds, nanoseconds], if the
101101
* parameter as_number is false. Otherwise the nanoseconds
102102
* are returned as int (64bit platforms) or float
103103
* (32bit platforms).
@@ -450,7 +450,7 @@ function sleep(int $seconds): int
450450
*
451451
* @param int $seconds Must be a non-negative integer.
452452
* @param int $nanoseconds Must be a non-negative integer less than 1 billion.
453-
* @return array{0:0|positive-int,1:0|positive-int}|bool Returns TRUE on success.
453+
* @return \array{0:0|positive-int,1:0|positive-int}|bool Returns TRUE on success.
454454
*
455455
* If the delay was interrupted by a signal, an associative array will be
456456
* returned with the components:

generated/openssl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ function openssl_digest(string $data, string $digest_algo, bool $binary = false)
557557
* NIST
558558
* recommends using ECC curves with at least 256 bits.
559559
*
560-
* @return array An array of available curve names.
560+
* @return \array An array of available curve names.
561561
* @throws OpensslException
562562
*
563563
*/

0 commit comments

Comments
 (0)