From b98ee0c55762c02c21589f9de61cc26a3e71e36c Mon Sep 17 00:00:00 2001 From: Antoine Delaunay <56753086+AntoineDly@users.noreply.github.com> Date: Wed, 26 Mar 2025 14:28:02 -0700 Subject: [PATCH] Remove second parameter incorrect nullable --- standard/standard_1.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/standard/standard_1.php b/standard/standard_1.php index bc09de70b..003507778 100644 --- a/standard/standard_1.php +++ b/standard/standard_1.php @@ -1008,14 +1008,14 @@ function explode(string $separator, string $string, int $limit = PHP_INT_MAX) {} * implode as glue would be * the second parameter and thus, the bad prototype would be used. *

- * @param array|null $array

+ * @param array $array

* The array of strings to implode. *

* @return string a string containing a string representation of all the array * elements in the same order, with the glue string between each element. */ #[Pure] -function implode(array|string $separator = "", ?array $array): string {} +function implode(array|string $separator = "", array $array): string {} /** * Alias: @@ -1026,14 +1026,14 @@ function implode(array|string $separator = "", ?array $array): string {} * implode as glue would be * the second parameter and thus, the bad prototype would be used. *

- * @param array|null $array

+ * @param array $array

* The array of strings to implode. *

* @return string a string containing a string representation of all the array * elements in the same order, with the glue string between each element. */ #[Pure] -function join(array|string $separator = "", ?array $array): string {} +function join(array|string $separator = "", array $array): string {} /** * Set locale information