Passed
Push — master ( 71491a...a35214 )
by Vince
01:33
created
src/core/throttle/limiter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             $this->setUnlimited();
112 112
         }
113 113
 
114
-        if( isset($this->account->scope) &&
114
+        if (isset($this->account->scope) &&
115 115
             ($this->account->scope == 'anonymous' || $this->account->scope == 'public')
116 116
         ) {
117 117
            $this->scope = $this->account->scope;
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      */
260 260
     public function getAccount()
261 261
     {
262
-        if(is_null($this->account)) {
262
+        if (is_null($this->account)) {
263 263
             (new exception\errorException)
264 264
                 ->setOptions($this->getOptions())
265 265
                 ->error('UNAUTHORIZED');
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
         $hasCapacityOption = $this->hasOptionProperty($options, 'rateLimit');
315 315
 
316 316
         if ($hasCapacityOption) {
317
-            if (!is_integer($hasCapacityOption)||empty($hasCapacityOption)) {
317
+            if (!is_integer($hasCapacityOption) || empty($hasCapacityOption)) {
318 318
                 $hasCapacityOption = false;
319 319
             }
320 320
         }
Please login to merge, or discard this patch.