Failed Conditions
Push — bantools ( e4d4aa...38f945 )
by Simon
08:44 queued 04:26
created
includes/Pages/Request/PageRequestAccount.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
     {
209 209
         $banHelper = new BanHelper($this->getDatabase(), $this->getXffTrustProvider(), null);
210 210
 
211
-        if($this->validationHelper === null) {
211
+        if ($this->validationHelper === null) {
212 212
             $this->validationHelper = new RequestValidationHelper(
213 213
                 $banHelper,
214 214
                 $this->getDatabase(),
Please login to merge, or discard this patch.
includes/Helpers/BanHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
             $this->banCache[$request->getId()] = $this->getBansForRequestFromDatabase($request);
47 47
         }
48 48
 
49
-        foreach($this->banCache[$request->getId()] as $ban) {
50
-            if($ban->getAction() === Ban::ACTION_BLOCK) {
49
+        foreach ($this->banCache[$request->getId()] as $ban) {
50
+            if ($ban->getAction() === Ban::ACTION_BLOCK) {
51 51
                 return true;
52 52
             }
53 53
         }
Please login to merge, or discard this patch.