@@ -43,6 +43,6 @@ |
||
43 | 43 | */ |
44 | 44 | public function getResult() |
45 | 45 | { |
46 | - return $this->result; |
|
46 | + return $this->result; |
|
47 | 47 | } |
48 | 48 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class ListInfo |
6 | 6 | { |
7 | - public $ID; |
|
8 | - public $Name; |
|
9 | - public $Description; |
|
10 | - public $CreatedDate; |
|
11 | - public $ModifiedDate; |
|
12 | - public $Type; |
|
13 | - public $Tag; |
|
7 | + public $ID; |
|
8 | + public $Name; |
|
9 | + public $Description; |
|
10 | + public $CreatedDate; |
|
11 | + public $ModifiedDate; |
|
12 | + public $Type; |
|
13 | + public $Tag; |
|
14 | 14 | } |
@@ -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() |