@@ -53,7 +53,7 @@ |
||
53 | 53 | { |
54 | 54 | $load = function($class, $expected) { |
55 | 55 | $result = new \ReflectionClass($class); |
56 | - if ($class!=$expected && !$result->isSubclassOf($expected)) { |
|
56 | + if ($class != $expected && !$result->isSubclassOf($expected)) { |
|
57 | 57 | throw new \InvalidArgumentException(sprintf( |
58 | 58 | "%s is not an instance of %s", |
59 | 59 | $class, $expected |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | { |
59 | 59 | $response = $this->client->GetListID(['name' => $list]); |
60 | 60 | |
61 | - if (Response::SUCCESSFUL!==$response->getCode()) { |
|
61 | + if (Response::SUCCESSFUL !== $response->getCode()) { |
|
62 | 62 | throw new \Exception(); |
63 | 63 | } else { |
64 | 64 | $this->list = $response->getId(); |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | 'List' => $this->list, |
133 | 133 | 'Changes' => $user, |
134 | 134 | ]); |
135 | - if (Response::SUCCESSFUL===$response->getCode()) { |
|
135 | + if (Response::SUCCESSFUL === $response->getCode()) { |
|
136 | 136 | $id = $response->getUserId(); |
137 | 137 | break; |
138 | 138 | } |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | 'InputData' => $inputData, |
164 | 164 | ]); |
165 | 165 | |
166 | - if (Response::SUCCESSFUL!==$response->getCode()) { |
|
166 | + if (Response::SUCCESSFUL !== $response->getCode()) { |
|
167 | 167 | throw new \Exception( |
168 | 168 | $response->getError(), |
169 | 169 | $response->getCode() |