Passed
Push — master ( b6a6e1 )
by Matt
04:06
created
src/Lever.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         Event::on(
71 71
             CraftVariable::class,
72 72
             CraftVariable::EVENT_INIT,
73
-            function (Event $event) {
73
+            function(Event $event) {
74 74
                 $variable = $event->sender;
75 75
                 $variable->set('lever', LeverVariable::class);
76 76
             }
Please login to merge, or discard this patch.
src/services/LeverService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 
217 217
             return new LeverJob($responseData);
218 218
         }
219
-        catch(\GuzzleHttp\Exception\RequestException $e) 
219
+        catch (\GuzzleHttp\Exception\RequestException $e) 
220 220
         {
221 221
             if ($e->getCode() === 404)
222 222
             {
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
             $postUrl = UrlHelper::actionUrl('lever/apply/test');
265 265
         }
266 266
 
267
-        $event = new ApplyEvent([ 'application' => $jobApplication ]);
267
+        $event = new ApplyEvent(['application' => $jobApplication]);
268 268
 
269 269
         if ($this->hasEventHandlers(self::EVENT_BEFORE_VALIDATE_APPLICATION))
270 270
         {
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 
294 294
         if ($response = $this->getClient()->post(
295 295
             $postUrl,
296
-            [ 'multipart' => $jobApplication->toMultiPartPostData() ]
296
+            ['multipart' => $jobApplication->toMultiPartPostData()]
297 297
         ))
298 298
         {
299 299
             /**
Please login to merge, or discard this patch.