[TASK] Add more fixers for php-cs-fixer
[Packages/TYPO3.CMS.git] / typo3 / sysext / tstemplate / Classes / Controller / TypoScriptTemplateModuleController.php
index 7297096..84a3b31 100644 (file)
@@ -683,8 +683,8 @@ page.10.value = HELLO WORLD!
      */
     protected function getHookObjectForAction($action)
     {
-        if (!empty($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][TypoScriptTemplateModuleController::class][$action])) {
-            return $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][TypoScriptTemplateModuleController::class][$action];
+        if (!empty($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::class][$action])) {
+            return $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::class][$action];
         }
         return null;
     }