Skip to content

Commit

Permalink
[BUGFIX] Remove wrong phpDoc for defineTypo3RequestTypes function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wouter90 authored and bmack committed Feb 7, 2018
1 parent f70522c commit 835a317
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions typo3/sysext/core/Classes/Core/Bootstrap.php
Expand Up @@ -665,8 +665,6 @@ protected function setMemoryLimit()
/**
* 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()
{
Expand All @@ -680,6 +678,7 @@ protected function defineTypo3RequestTypes()
/**
* 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
*/
Expand Down

0 comments on commit 835a317

Please sign in to comment.