You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor module templates to remove Response action args and use response() helper #496
Module template controller and middleware code still includes many method signatures with injected Response $response. We should reduce signature clutter by using the response() helper inside methods where appropriate.
Context
Inventory in src/Module/Templates found 78 methods with Response $response:
Controllers (runtime templates): 42
Controllers (OpenApi abstract templates): 17
Middlewares (runtime templates): 19
Proposed Implementation Order
Controller runtime templates first
Remove Response $response from controller action method signatures.
Initialize local $response = response(); inside each affected action.
Keep return types unchanged.
OpenApi abstract templates second
Update OpenApi abstract controller signatures to match runtime controller signatures.
changed the title [-]Refactor module templates to remove Response \ action args and use response() helper[/-][+]Refactor module templates to remove Response action args and use response() helper[/+]on May 1, 2026
Activity
[-]Refactor module templates to remove Response \ action args and use response() helper[/-][+]Refactor module templates to remove Response action args and use response() helper[/+][quantum-php#496] Remove UTF-8 BOM from module template PHP files
[quantum-php#496] Fix template response regressions and signature spa…
[quantum-php#496] Fix middleware error-response return propagation
[quantum-php#496] Tighten Toolkit middleware response contract
[quantum-php#496] Fix missing validateRequest return in DemoWeb Passw…
[#496] Refactor template controllers to use response() helper
[#496] Refactor template middleware helpers to remove Response arg pl…
[#496] Clean template docblocks and inline redundant response locals