Completed
Branch master (a94ee0)
by methylbro
06:39
created
src/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Transport.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.