Re-order the arguments list for onSetup
What does this MR do and why?
Simple re-ordering of the arguments passed to the onSetup
callback of the Source Editor extensions. The reason: we always pass down the instance
, while setupOptions
might be undefined
. Hence this refactoring to avoid passing null
or undefined
as the default first argument to onSetup
where no setupOptions
are expected.
Screenshots or screen recordings
No visual or functional changes
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.
Related to #292943 (closed)