Completed
Pull Request — development (#809)
by
unknown
04:40
created
htdocs_symfony/src/Entity/CachesEntity.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,10 +84,11 @@
 block discarded – undo
84 84
      */
85 85
     public function isActiveAndFindableAndSoOn(): bool
86 86
     {
87
-        if ($this->status == 1)
88
-            return $this->true;
89
-        else
90
-            return $this->false;
87
+        if ($this->status == 1) {
88
+                    return $this->true;
89
+        } else {
90
+                    return $this->false;
91
+        }
91 92
     }
92 93
 
93 94
     public function getID(): int
Please login to merge, or discard this patch.
htdocs_symfony/src/Controller/Backend/CachesController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Oc\Controller\Backend;
6 6
 
7
-use ContainerDz0yoSZ\getConsole_ErrorListenerService;
8 7
 use Doctrine\DBAL\Connection;
9 8
 use Doctrine\ORM\EntityManagerInterface;
10 9
 use Form\CachesFormType;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 
115 115
             $fetched_caches = $connection->fetchAll($sql_string);
116 116
 
117
-            for ($i = 0; $i < count($fetched_caches); $i ++) {
117
+            for ($i = 0; $i < count($fetched_caches); $i++) {
118 118
                 // replace existing log passwords with something different
119 119
                 // nur der Teil mit den Bilderzuweisungen müsste nochmal überdacht werden..
120 120
                 if ($fetched_caches[$i]["logpw"] != "") {
Please login to merge, or discard this patch.