@@ -52,7 +52,7 @@ |
||
52 | 52 | ->decode() |
53 | 53 | ; |
54 | 54 | |
55 | - $this->assertEquals(true, (is_array($decoded)&&!empty($decoded)) ); |
|
55 | + $this->assertEquals(true, (is_array($decoded) && !empty($decoded))); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | $this->setUnlimited(); |
121 | 121 | } |
122 | 122 | |
123 | - if( isset($this->account->scope) && |
|
123 | + if (isset($this->account->scope) && |
|
124 | 124 | ($this->account->scope == 'anonymous' || $this->account->scope == 'public') |
125 | 125 | ) { |
126 | 126 | $this->scope = $this->account->scope; |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | */ |
269 | 269 | public function getAccount() |
270 | 270 | { |
271 | - if(is_null($this->account)) { |
|
271 | + if (is_null($this->account)) { |
|
272 | 272 | (new exception\errorException) |
273 | 273 | ->setOptions($this->getOptions()) |
274 | 274 | ->error('UNAUTHORIZED'); |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | 'MESSAGE' => $message, |
171 | 171 | ), JSON_PRETTY_PRINT); |
172 | 172 | |
173 | - if( isset($options['errors']) && $options['errors'] == 'catchAll' ) { |
|
173 | + if (isset($options['errors']) && $options['errors'] == 'catchAll') { |
|
174 | 174 | throw new self($eMessage, 1); |
175 | 175 | } |
176 | 176 | |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | 'MESSAGE' => $message, |
186 | 186 | ), JSON_PRETTY_PRINT); |
187 | 187 | |
188 | - if( isset($options['errors']) && $options['errors'] == 'catchAll' ) { |
|
188 | + if (isset($options['errors']) && $options['errors'] == 'catchAll') { |
|
189 | 189 | throw new self($eMessage, 1); |
190 | 190 | } |
191 | 191 |