@@ -111,7 +111,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |