Commit bad611bf authored by Kevin Ditscheid's avatar Kevin Ditscheid

[BUGFIX] Remove void type hint for PHP 7.0 compatibility

parent ffdaf47a
...@@ -229,7 +229,7 @@ class RoutingService { ...@@ -229,7 +229,7 @@ class RoutingService {
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
* @throws ServiceUnavailableException * @throws ServiceUnavailableException
*/ */
public static function initializeTypoScriptFrontendController($pageId = 0): void { public static function initializeTypoScriptFrontendController($pageId = 0) {
global $TYPO3_CONF_VARS; global $TYPO3_CONF_VARS;
$controller = &$GLOBALS['TSFE']; $controller = &$GLOBALS['TSFE'];
if (!($controller instanceof TypoScriptFrontendController)) { if (!($controller instanceof TypoScriptFrontendController)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment