Resolve Lint/NoReturnInBeginEndBlocks offenses
What does this MR do and why?
Resolve Lint/NoReturnInBeginEndBlocks offenses
Refactored lib/object_storage/config.rb and spec/support/database/prevent_cross_joins.rb to avoid early return in begin-end blocks used as values. This also fixes a minor logic issue where memoization was skipped on early return.
Related to #592383 (closed)
Edited by Lorena Ciutacu