@@ -84,10 +84,11 @@ |
||
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 |
@@ -4,7 +4,6 @@ |
||
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; |
@@ -114,7 +114,7 @@ |
||
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"] != "") { |