Completed
Push — master ( 5794c5...08c98b )
by Fabien
53:00
created
Classes/Utility/Typo3Mode.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
 
15 15
 class Typo3Mode
16 16
 {
17
-    static public function isBackendMode(): bool
18
-    {
19
-        return ($GLOBALS['TYPO3_REQUEST'] ?? null) instanceof ServerRequestInterface && ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend();
20
-    }
17
+	static public function isBackendMode(): bool
18
+	{
19
+		return ($GLOBALS['TYPO3_REQUEST'] ?? null) instanceof ServerRequestInterface && ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend();
20
+	}
21 21
 
22
-    static public function isFrontendMode(): bool
23
-    {
24
-        return ($GLOBALS['TYPO3_REQUEST'] ?? null) instanceof ServerRequestInterface && ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isFrontend();
25
-    }
22
+	static public function isFrontendMode(): bool
23
+	{
24
+		return ($GLOBALS['TYPO3_REQUEST'] ?? null) instanceof ServerRequestInterface && ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isFrontend();
25
+	}
26 26
 }
Please login to merge, or discard this patch.