@@ -1008,14 +1008,14 @@ function explode(string $separator, string $string, int $limit = PHP_INT_MAX) {}
1008
1008
* implode as glue would be
1009
1009
* the second parameter and thus, the bad prototype would be used.
1010
1010
* </p>
1011
- * @param array $array <p>
1011
+ * @param array|null $array <p>
1012
1012
* The array of strings to implode.
1013
1013
* </p>
1014
1014
* @return string a string containing a string representation of all the array
1015
1015
* elements in the same order, with the glue string between each element.
1016
1016
*/
1017
1017
#[Pure]
1018
- function implode (array |string $ separator = "" , array $ array ): string {}
1018
+ function implode (array |string $ separator = "" , ? array $ array ): string {}
1019
1019
1020
1020
/**
1021
1021
* Alias:
@@ -1026,14 +1026,14 @@ function implode(array|string $separator = "", array $array): string {}
1026
1026
* implode as glue would be
1027
1027
* the second parameter and thus, the bad prototype would be used.
1028
1028
* </p>
1029
- * @param array $array <p>
1029
+ * @param array|null $array <p>
1030
1030
* The array of strings to implode.
1031
1031
* </p>
1032
1032
* @return string a string containing a string representation of all the array
1033
1033
* elements in the same order, with the glue string between each element.
1034
1034
*/
1035
1035
#[Pure]
1036
- function join (array |string $ separator = "" , array $ array ): string {}
1036
+ function join (array |string $ separator = "" , ? array $ array ): string {}
1037
1037
1038
1038
/**
1039
1039
* Set locale information
0 commit comments