@@ -222,7 +222,7 @@ discard block |
||
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 |
||
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 |
||
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 && |
@@ -210,7 +210,7 @@ discard block |
||
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 |
||
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 | { |