| @@ -208,7 +208,7 @@ | ||
| 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(), | 
| @@ -46,8 +46,8 @@ | ||
| 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 | } |