@@ -536,7 +536,7 @@ |
||
| 536 | 536 | * Attach steps to new application (version 2). |
| 537 | 537 | * |
| 538 | 538 | * @return void |
| 539 | - */ |
|
| 539 | + */ |
|
| 540 | 540 | public function attachSteps(): void |
| 541 | 541 | { |
| 542 | 542 | if ($this->touched_application_steps->isEmpty()) { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @param \App\Models\JobApplication $application Incoming Application object. |
| 17 | 17 | * @return \Illuminate\Http\Response |
| 18 | - */ |
|
| 18 | + */ |
|
| 19 | 19 | public function show(JobApplication $jobApplication, string $requestedStep = null) |
| 20 | 20 | { |
| 21 | 21 | $jobApplicationSteps = $jobApplication->jobApplicationSteps(); |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | 'application' => $jobApplication, |
| 93 | 93 | 'application_template' => Lang::get( |
| 94 | 94 | 'applicant/application_template', |
| 95 | - ['security_clearance' => $jobPoster->security_clearance->value ] |
|
| 95 | + ['security_clearance' => $jobPoster->security_clearance->value] |
|
| 96 | 96 | ), |
| 97 | 97 | 'jobPoster' => $jobPoster, |
| 98 | 98 | ] |
@@ -19,13 +19,13 @@ |
||
| 19 | 19 | class TouchedApplicationStep extends BaseModel |
| 20 | 20 | { |
| 21 | 21 | protected $casts = [ |
| 22 | - 'job_application_id' => 'int', |
|
| 23 | - 'step_id' => 'int', |
|
| 24 | - 'touched' => 'boolean', |
|
| 22 | + 'job_application_id' => 'int', |
|
| 23 | + 'step_id' => 'int', |
|
| 24 | + 'touched' => 'boolean', |
|
| 25 | 25 | ]; |
| 26 | 26 | |
| 27 | 27 | protected $fillable = [ |
| 28 | - 'touched' |
|
| 28 | + 'touched' |
|
| 29 | 29 | ]; |
| 30 | 30 | |
| 31 | 31 | public function job_application() //phpcs:ignore |
@@ -521,14 +521,14 @@ discard block |
||
| 521 | 521 | if (!empty($skillsArray)) { |
| 522 | 522 | $lastSkill = end($skillsArray); |
| 523 | 523 | foreach ($skillsArray as $skillItem) { |
| 524 | - $skillsString .= $skillItem['skill'].' - '.$skillItem['level'].($skillItem == $lastSkill ? '.' : ', '); |
|
| 524 | + $skillsString .= $skillItem['skill'] . ' - ' . $skillItem['level'] . ($skillItem == $lastSkill ? '.' : ', '); |
|
| 525 | 525 | } |
| 526 | 526 | } |
| 527 | 527 | |
| 528 | 528 | $benefitsString = ''; |
| 529 | 529 | if (is_array($jobLang['structured_data']['benefits'])) { |
| 530 | 530 | foreach ($jobLang['structured_data']['benefits'] as $benefit) { |
| 531 | - $benefitsString .= $benefit.' '; |
|
| 531 | + $benefitsString .= $benefit . ' '; |
|
| 532 | 532 | } |
| 533 | 533 | } |
| 534 | 534 | |
@@ -536,12 +536,12 @@ discard block |
||
| 536 | 536 | if (is_array($jobPoster['job_poster_key_tasks'])) { |
| 537 | 537 | $lastTask = end($jobPoster['job_poster_key_tasks']); |
| 538 | 538 | foreach ($jobPoster['job_poster_key_tasks'] as $task) { |
| 539 | - $tasksString .= $task['description'].' '.($task == $lastTask ? '' : ' | '); |
|
| 539 | + $tasksString .= $task['description'] . ' ' . ($task == $lastTask ? '' : ' | '); |
|
| 540 | 540 | } |
| 541 | 541 | } |
| 542 | 542 | |
| 543 | - $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'].': ' |
|
| 544 | - .$jobPoster['security_clearance']['value'].'. ' |
|
| 543 | + $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'] . ': ' |
|
| 544 | + .$jobPoster['security_clearance']['value'] . '. ' |
|
| 545 | 545 | .$jobLang['structured_data']['security_clearance_requirement_description']; |
| 546 | 546 | |
| 547 | 547 | $structuredData = [ |