Skip to content
Snippets Groups Projects

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading