Cleanup Workspaces domain linter warnings
What does this MR do and why?
Fixes Rubocop and Rubymine linter inspection warnings.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.