Passed
Push — master ( 44072b...31cd8d )
by Matt
06:19
created
src/services/LeverService.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 
223 223
             return new LeverJob($responseData);
224 224
         }
225
-        catch(\GuzzleHttp\Exception\RequestException $e) 
225
+        catch (\GuzzleHttp\Exception\RequestException $e) 
226 226
         {
227 227
             if ($e->getCode() === 404)
228 228
             {
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
             $application->resume = UploadedFile::getInstanceByName('resume');
295 295
         }
296 296
 
297
-        $event = new ApplyEvent([ 'application' => $application ]);
297
+        $event = new ApplyEvent(['application' => $application]);
298 298
 
299 299
         if ($this->hasEventHandlers(self::EVENT_BEFORE_VALIDATE_APPLICATION))
300 300
         {
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
 
324 324
         if ($response = $this->getClient()->post(
325 325
             $postUrl,
326
-            [ 'multipart' => $application->toMultiPartPostData() ]
326
+            ['multipart' => $application->toMultiPartPostData()]
327 327
         ))
328 328
         {
329 329
             $responseIsHealthy = $response->getStatusCode() === 200 &&
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public function getJobById($jobId)
212 212
     {
213
-        try 
213
+        try
214 214
         {
215 215
             $response = $this->getClient()->get(sprintf(
216 216
                 'postings/%s/%s',
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 
223 223
             return new LeverJob($responseData);
224 224
         }
225
-        catch(\GuzzleHttp\Exception\RequestException $e) 
225
+        catch(\GuzzleHttp\Exception\RequestException $e)
226 226
         {
227 227
             if ($e->getCode() === 404)
228 228
             {
Please login to merge, or discard this patch.