[TASK] Use fully qualified name resolution in PHP 5.5
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Mvc / Web / FrontendRequestHandler.php
index fd3bd98..e46349f 100644 (file)
@@ -16,7 +16,7 @@ namespace TYPO3\CMS\Extbase\Mvc\Web;
 /**
  * A request handler which can handle web requests invoked by the frontend.
  */
-class FrontendRequestHandler extends \TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler {
+class FrontendRequestHandler extends AbstractRequestHandler {
 
        /**
         * @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
@@ -37,9 +37,6 @@ class FrontendRequestHandler extends \TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestH
         */
        public function handleRequest() {
                $request = $this->requestBuilder->build();
-               /** @var $requestHashService \TYPO3\CMS\Extbase\Security\Channel\RequestHashService */
-               $requestHashService = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Security\\Channel\\RequestHashService');
-               $requestHashService->verifyRequest($request);
                if ($this->extensionService->isActionCacheable(NULL, NULL, $request->getControllerName(), $request->getControllerActionName())) {
                        $request->setIsCached(TRUE);
                } else {
@@ -52,7 +49,7 @@ class FrontendRequestHandler extends \TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestH
                        $request->setIsCached(FALSE);
                }
                /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
-               $response = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response');
+               $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
                $this->dispatcher->dispatch($request, $response);
                return $response;
        }
@@ -60,7 +57,7 @@ class FrontendRequestHandler extends \TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestH
        /**
         * This request handler can handle any web request.
         *
-        * @return boolean If the request is a web request, TRUE otherwise FALSE
+        * @return bool If the request is a web request, TRUE otherwise FALSE
         */
        public function canHandleRequest() {
                return $this->environmentService->isEnvironmentInFrontendMode();