[BUGFIX] Remove wrong phpDoc for defineTypo3RequestTypes function 93/55593/3
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 7 Feb 2018 20:37:57 +0000 (21:37 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 7 Feb 2018 21:21:40 +0000 (22:21 +0100)
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

index 868b732..94d2996 100644 (file)
@@ -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
      */