Skip to content

Improved assertion in #lazy_builder: loop to assert params individually.

Closes #3455746

Optimized assertion error handling in #lazy_builder callback. Replaced assertion that used count() and array_filter() methods with the array_walk function to assert each parameter individually. This refactoring enhances the clarity of the assertion error by specifying the problematic parameter when encountered.

Edited by Cesar Morua

Merge request reports

Loading