Important: #83724 - API and behavior change in request handler classes¶
See forge#83724
Description¶
In preparation for a better PSR-7 and a new PSR-15 integration the internal request handler classes have been changed:
- All methods gained strict argument type and return type declarations.
- Instead of calling
Http
aUtility:: redirect () Redirect
is returned.Response - Instead of returning
null
aNull
is returned.Response
Impact¶
Extending one of the core request handlers without adding type declarations (to overloaded methods), will trigger a PHP fatal error.
Affected Installations¶
All 3rd party extensions extending one of the core request handlers.