@@ -248,7 +248,7 @@ |
||
248 | 248 | /** @var RequestQueue|false $targetQueue */ |
249 | 249 | $targetQueue = RequestQueue::getById($ban->getTargetQueue(), $this->database); |
250 | 250 | |
251 | - if ($targetQueue === false ) { |
|
251 | + if ($targetQueue === false) { |
|
252 | 252 | $comment = new Comment(); |
253 | 253 | $comment->setDatabase($this->database); |
254 | 254 | $comment->setRequest($request->getId()); |
@@ -51,7 +51,8 @@ |
||
51 | 51 | |
52 | 52 | if ($this->barrierTest($route[1], $currentUser, $route[0])) { |
53 | 53 | $this->redirect('/' . $referrer); |
54 | - } else { |
|
54 | + } |
|
55 | + else { |
|
55 | 56 | $this->redirect('/'); |
56 | 57 | } |
57 | 58 | } |
@@ -86,7 +86,8 @@ |
||
86 | 86 | return $result; |
87 | 87 | } |
88 | 88 | |
89 | - public static function getAll(PdoDatabase $database) { |
|
89 | + public static function getAll(PdoDatabase $database) |
|
90 | + { |
|
90 | 91 | $statement = $database->prepare("SELECT * FROM domain;"); |
91 | 92 | $statement->execute(); |
92 | 93 |