mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-27 00:46:41 +00:00
Add type for join method
Looking at the code, this method is very forgiving in what it accepts.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user