typo3-cms-fluid-precompiler-module
typo3-cms-fluid-precompiler-module copied to clipboard
Fix precompile cache action in backend
The precompile backend action (system toolbar) is now compatible with the request and response interface
This changes the TYPO3 compatibility of the extension and shouldn't enable strict types or declare strict returns. AFAIK it is possible to have compatible signatures for both v9 and v8 LTS versions.
This changes the TYPO3 compatibility of the extension and shouldn't enable strict types or declare strict returns. AFAIK it is possible to have compatible signatures for both v9 and v8 LTS versions.
Okay. Removed the declare(strict_types=1);, strict return type and added parameter signature null to get compatible with version 8. Version 8 has no middleware and no request and response interface as method signature. So we have $request = null and $response = null in version 8. I'm totally fine with this implementation.