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.
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.