Add type for join method

Looking at the code, this method is very forgiving in what it accepts.
This commit is contained in:
Ruud Kamphuis
2024-10-30 15:44:01 +01:00
parent 494f010d29
commit 226f0ff0dd
+3 -3
View File
@@ -766,9 +766,9 @@ final class CoreExtension extends AbstractExtension
* {{ [1, 2, 3]|join }}
* {# returns 123 #}
*
* @param array $value An array
* @param string $glue The separator
* @param string|null $and The separator for the last pair
* @param iterable|array|string|float|int|bool|null $value An array
* @param string $glue The separator
* @param string|null $and The separator for the last pair
*
* @internal
*/