TYPO3 / Fluid

Fluid template rendering engine - Standalone version
GNU Lesser General Public License v3.0
153 stars 93 forks source link

[TASK] Simplify calls to iterator_to_array() #932

Closed s2b closed 1 month ago

s2b commented 1 month ago

Since Fluid now requires at least PHP 8.2, we can simplify some calls to iterator_to_array(). Before PHP 8.2, the function could only handle iterator objects as argument, now also arrays are supported. We can remove some compatibility code which made sure that no arrays were passed to the function.