Completed
Pull Request — master (#22)
by
unknown
06:08
created
src/Transport.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Psr\Log\LoggerInterface;
15 15
 use Psr\Log\LoggerAwareInterface;
16
-
17 16
 use Mediapart\Selligent\Response\GetUserByFilterResponse;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 
189 189
                 /* the user do not exist, we create it */
190 190
                 case Response::ERROR_NORESULT:
191
-                    if($id = $this->createUser($user)) {
191
+                    if ($id = $this->createUser($user)) {
192 192
                         break;
193 193
                     }
194 194
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
         $options['ActionListID'] = $actionProperties['ActionListID'];
221 221
         $options['ActionListItemData'] = $inputData;
222 222
 
223
-        $this->triggerCampaign($userId,'TriggerCampaignForUserAndActionListItemWithResult', $options);
223
+        $this->triggerCampaign($userId, 'TriggerCampaignForUserAndActionListItemWithResult', $options);
224 224
     }
225 225
 
226 226
     /**
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     {
232 232
         $options['InputData'] = $inputData;
233 233
 
234
-        $this->triggerCampaign($userId,'TriggerCampaignForUserWithResult', $options);
234
+        $this->triggerCampaign($userId, 'TriggerCampaignForUserWithResult', $options);
235 235
     }
236 236
 
237 237
     /**
Please login to merge, or discard this patch.