Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #42151 Use is_iterable() function when possible (javiereguiluz)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Use is_iterable() function when possible | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - PHP added `is_iterable()` in PHP 7.1.0 (see https://www.php.net/manual/en/function.is-iterable.php) and Symfony 4.4 requires `>=7.1.3`, so maybe we can use this function to simplify some code. Commits ------- 6919c1317d Use is_iterable() function when possible
- Loading branch information