@@ -776,7 +776,7 @@ discard block |
||
776 | 776 | function (): void { |
777 | 777 | // This page is non-localized, because the middleware that redirects to localized |
778 | 778 | // pages changes POSTs to GETs and messes up the request. |
779 | - Route::match(['get','post'], 'jobs/create/as-manager/{manager}', 'JobController@createAsManager') |
|
779 | + Route::match(['get', 'post'], 'jobs/create/as-manager/{manager}', 'JobController@createAsManager') |
|
780 | 780 | ->middleware('can:create,App\Models\JobPoster') |
781 | 781 | ->name('admin.jobs.create_as_manager'); |
782 | 782 | |
@@ -863,7 +863,7 @@ discard block |
||
863 | 863 | ->name('jobs.setJobStatus'); |
864 | 864 | Route::resource('jobs', 'Api\JobController')->only([ |
865 | 865 | 'show', 'store', 'update', 'index' |
866 | - ])->names([ // Specify custom names because default names collied with existing routes. |
|
866 | + ])->names([// Specify custom names because default names collied with existing routes. |
|
867 | 867 | 'show' => 'jobs.show', |
868 | 868 | 'store' => 'jobs.store', |
869 | 869 | 'update' => 'jobs.update', |
@@ -892,7 +892,7 @@ discard block |
||
892 | 892 | |
893 | 893 | Route::resource('managers', 'Api\ManagerController')->only([ |
894 | 894 | 'show', 'update' |
895 | - ])->names([ // Specify custom names because default names collied with existing routes. |
|
895 | + ])->names([// Specify custom names because default names collied with existing routes. |
|
896 | 896 | 'show' => 'managers.show', |
897 | 897 | 'update' => 'managers.update' |
898 | 898 | ]); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $newApplicantClassifications = collect($validatedRequest['applicant_classifications'])->unique( |
42 | 42 | // Remove all duplicate classification-level combinations from the collection. |
43 | 43 | function ($newApplicantClassification) { |
44 | - return $newApplicantClassification['classification_id'].$newApplicantClassification['level']; |
|
44 | + return $newApplicantClassification['classification_id'] . $newApplicantClassification['level']; |
|
45 | 45 | } |
46 | 46 | ); |
47 | 47 | $oldApplicantClassifications = $applicant->applicant_classifications; |
@@ -97,7 +97,7 @@ |
||
97 | 97 | $segment = WhichPortal::isApplicantPortal() ? $application->job_poster->title : $application->user_name; |
98 | 98 | } |
99 | 99 | } elseif (is_object($this->request->application) && $this->request->application->id == $segment) { |
100 | - $application = $this->request->application; |
|
100 | + $application = $this->request->application; |
|
101 | 101 | $segment = WhichPortal::isApplicantPortal() ? $application->job_poster->title : $application->user_name; |
102 | 102 | } |
103 | 103 | return [ |