From 92af3aebdea722e88bf5b7f26c9ee70c67143dd9 Mon Sep 17 00:00:00 2001
From: proess <pascal.roessler@math.uzh.ch>
Date: Tue, 21 Mar 2023 08:15:32 +0100
Subject: [PATCH] S15790: removed empty line etc. refs #15790

---
 Documentation-develop/CONFIG.md           | 2 +-
 extension/Classes/Core/Constants.php      | 1 -
 extension/Classes/Core/Helper/Support.php | 6 +-----
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/Documentation-develop/CONFIG.md b/Documentation-develop/CONFIG.md
index ab8b3b971..b71f07f1b 100644
--- a/Documentation-develop/CONFIG.md
+++ b/Documentation-develop/CONFIG.md
@@ -106,7 +106,7 @@ The expected default value must be specified in the **testConfigIniDefaultValues
 ```
 $expect = [
     ...
-    SYSTEM_LOCK_SAME_OWNER => 'true',
+    SYSTEM_MY_VARIABLE => 'true',
     ...
 ];
 ```
diff --git a/extension/Classes/Core/Constants.php b/extension/Classes/Core/Constants.php
index 520bbae11..f5217be71 100644
--- a/extension/Classes/Core/Constants.php
+++ b/extension/Classes/Core/Constants.php
@@ -817,7 +817,6 @@ const SIP_EXCLUDE_TYPE = 'type';
 const SIP_EXCLUDE_L = 'L';
 const SIP_EXCLUDE_XDEBUG_SESSION_START = 'XDEBUG_SESSION_START';
 
-
 // FURTHER: all extracted params from 'urlparam
 
 const ACTION_KEYWORD_SLAVE_ID = 'slaveId';
diff --git a/extension/Classes/Core/Helper/Support.php b/extension/Classes/Core/Helper/Support.php
index 29e6bc05c..4d0ab356a 100644
--- a/extension/Classes/Core/Helper/Support.php
+++ b/extension/Classes/Core/Helper/Support.php
@@ -1691,11 +1691,9 @@ class Support {
      *
      * @return string
      */
-    public static function getBrowser()
-    {
+    public static function getBrowser(){
         $user_agent = $_SERVER['HTTP_USER_AGENT'];
         $browser = "N/A";
-
         $browsers = [
             '/msie/i' => 'Internet explorer',
             '/firefox/i' => 'Firefox',
@@ -1705,13 +1703,11 @@ class Support {
             '/opera/i' => 'Opera',
             '/mobile/i' => 'Mobile browser',
         ];
-
         foreach ($browsers as $regex => $value) {
             if (preg_match($regex, $user_agent)) {
                 $browser = $value;
             }
         }
-
         return $browser;
     }
 }
\ No newline at end of file
-- 
GitLab