From 835a317176e8aba53d5f8d2120b5fb2891259e71 Mon Sep 17 00:00:00 2001
From: Wouter Wolters <typo3@wouterwolters.nl>
Date: Wed, 7 Feb 2018 21:37:57 +0100
Subject: [PATCH] [BUGFIX] Remove wrong phpDoc for defineTypo3RequestTypes
 function

There is no return value, drop the @return tag.
Also add @param int $requestType to setRequestType

Resolves: #83801
Releases: master
Change-Id: I1f371effb5a56c02860af716ca4071ac3db3c4da
Reviewed-on: https://review.typo3.org/55593
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
---
 typo3/sysext/core/Classes/Core/Bootstrap.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/typo3/sysext/core/Classes/Core/Bootstrap.php b/typo3/sysext/core/Classes/Core/Bootstrap.php
index 868b73207731..94d29961b71a 100644
--- a/typo3/sysext/core/Classes/Core/Bootstrap.php
+++ b/typo3/sysext/core/Classes/Core/Bootstrap.php
@@ -665,8 +665,6 @@ class Bootstrap
     /**
      * Define TYPO3_REQUESTTYPE* constants that can be used for developers to see if any context has been hit
      * also see setRequestType(). Is done at the very beginning so these parameters are always available.
-     *
-     * @return Bootstrap
      */
     protected function defineTypo3RequestTypes()
     {
@@ -680,6 +678,7 @@ class Bootstrap
     /**
      * Defines the TYPO3_REQUESTTYPE constant so the environment knows which context the request is running.
      *
+     * @param int $requestType
      * @throws \RuntimeException if the method was already called during a request
      * @return Bootstrap
      */
-- 
GitLab