Refactor `DependenciesController` for readability
What does this MR do and why?
Describe in detail what your merge request does and why.
While trying to do refinement for &8293 (closed), I was reading this class and I found the code super hard to understand. This MR refactors it for readability. It should behave exactly the same as before.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Brian Williams