@@ -265,7 +265,7 @@ |
||
| 265 | 265 | throw new \Exception("Access token request return empty response"); |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | - if (! empty($this->tokenSaver)) { |
|
| 268 | + if (!empty($this->tokenSaver)) { |
|
| 269 | 269 | $tokenSaver = $this->getTokenSaver(); |
| 270 | 270 | $tokenSaver( |
| 271 | 271 | $token['access_token'] |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | 'order' => $order |
| 31 | 31 | ); |
| 32 | 32 | |
| 33 | - if (! empty($cover)) { |
|
| 33 | + if (!empty($cover)) { |
|
| 34 | 34 | $properties['cover'] = $this->filterUriInstance($cover); |
| 35 | 35 | } |
| 36 | 36 | |
@@ -32,11 +32,11 @@ |
||
| 32 | 32 | 'order' => $order |
| 33 | 33 | ); |
| 34 | 34 | |
| 35 | - if (! empty($cover)) { |
|
| 35 | + if (!empty($cover)) { |
|
| 36 | 36 | $properties['cover'] = $this->filterUriInstance($cover); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - if (! empty($source)) { |
|
| 39 | + if (!empty($source)) { |
|
| 40 | 40 | $properties['source'] = $this->filterUriInstance($source); |
| 41 | 41 | } |
| 42 | 42 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | $description = '', |
| 28 | 28 | $information = '' |
| 29 | 29 | ) { |
| 30 | - if (! in_array($ratio, $this->getAvailableRatios())) { |
|
| 30 | + if (!in_array($ratio, $this->getAvailableRatios())) { |
|
| 31 | 31 | throw new \Exception("ratio $ratio not allowed, allowed ratio are " . implode(', ', $this->getAvailableRatios())); |
| 32 | 32 | } |
| 33 | 33 | |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | */ |
| 121 | 121 | private function updateHostFromUri() |
| 122 | 122 | { |
| 123 | - if (! $this->uri instanceof Uri) { |
|
| 123 | + if (!$this->uri instanceof Uri) { |
|
| 124 | 124 | return; |
| 125 | 125 | } |
| 126 | 126 | |