Tighten some intents
Description
In an attempt to make the core more readable, some intent(*) attributes have been changed to indicate how a variable is used inside a subroutine.
News snippet
Tighten some intent(*) attributes.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.