@@ -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()) { | 
                                                        
@@ -190,14 +190,14 @@ discard block  | 
                                                    ||
| 190 | 190 |          if (!empty($skillsArray)) { | 
                                                        
| 191 | 191 | $lastSkill = end($skillsArray);  | 
                                                        
| 192 | 192 |              foreach ($skillsArray as $skillItem) { | 
                                                        
| 193 | - $skillsString .= $skillItem['skill'].' - '.$skillItem['level'].($skillItem == $lastSkill ? '.' : ', ');  | 
                                                        |
| 193 | + $skillsString .= $skillItem['skill'] . ' - ' . $skillItem['level'] . ($skillItem == $lastSkill ? '.' : ', ');  | 
                                                        |
| 194 | 194 | }  | 
                                                        
| 195 | 195 | }  | 
                                                        
| 196 | 196 | |
| 197 | 197 | $benefitsString = '';  | 
                                                        
| 198 | 198 |          if (is_array($jobLang['structured_data']['benefits'])) { | 
                                                        
| 199 | 199 |              foreach ($jobLang['structured_data']['benefits'] as $benefit) { | 
                                                        
| 200 | - $benefitsString .= $benefit.' ';  | 
                                                        |
| 200 | + $benefitsString .= $benefit . ' ';  | 
                                                        |
| 201 | 201 | }  | 
                                                        
| 202 | 202 | }  | 
                                                        
| 203 | 203 | |
@@ -205,12 +205,12 @@ discard block  | 
                                                    ||
| 205 | 205 |          if (is_array($jobPoster['job_poster_key_tasks'])) { | 
                                                        
| 206 | 206 | $lastTask = end($jobPoster['job_poster_key_tasks']);  | 
                                                        
| 207 | 207 |              foreach ($jobPoster['job_poster_key_tasks'] as $task) { | 
                                                        
| 208 | - $tasksString .= $task['description'].' '.($skillItem == $lastSkill ? '' : ' | ');  | 
                                                        |
| 208 | + $tasksString .= $task['description'] . ' ' . ($skillItem == $lastSkill ? '' : ' | ');  | 
                                                        |
| 209 | 209 | }  | 
                                                        
| 210 | 210 | }  | 
                                                        
| 211 | 211 | |
| 212 | - $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'].': '  | 
                                                        |
| 213 | - .$jobPoster['security_clearance']['value'].'. '  | 
                                                        |
| 212 | + $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'] . ': '  | 
                                                        |
| 213 | + .$jobPoster['security_clearance']['value'] . '. '  | 
                                                        |
| 214 | 214 | .$jobLang['structured_data']['security_clearance_requirement_description'];  | 
                                                        
| 215 | 215 | |
| 216 | 216 | $structuredData = [  | 
                                                        
@@ -39,7 +39,7 @@  | 
                                                    ||
| 39 | 39 | 'application' => $application,  | 
                                                        
| 40 | 40 | 'application_template' => Lang::get(  | 
                                                        
| 41 | 41 | 'applicant/application_template',  | 
                                                        
| 42 | - ['security_clearance' => $jobPoster->security_clearance->value ]  | 
                                                        |
| 42 | + ['security_clearance' => $jobPoster->security_clearance->value]  | 
                                                        |
| 43 | 43 | ),  | 
                                                        
| 44 | 44 | 'jobPoster' => $jobPoster,  | 
                                                        
| 45 | 45 | ]  | 
                                                        
@@ -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();  | 
                                                        
@@ -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  |