[TASK] Ensure HTTP RequestHandlers always return a PSR-7 Repsonse
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Http / InstallerRequestHandler.php
index 8b6f31a..f503676 100644 (file)
@@ -114,7 +114,7 @@ class InstallerRequestHandler implements RequestHandlerInterface
      * @param ServerRequestInterface $request
      * @return bool Returns always TRUE
      */
-    public function canHandleRequest(ServerRequestInterface $request)
+    public function canHandleRequest(ServerRequestInterface $request): bool
     {
         $localConfigurationFileLocation = (new ConfigurationManager())->getLocalConfigurationFileLocation();
         return !@is_file($localConfigurationFileLocation) || EnableFileService::isFirstInstallAllowed();