@@ -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 | ] |
@@ -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 [ |
@@ -777,7 +777,7 @@ discard block |
||
777 | 777 | function (): void { |
778 | 778 | // This page is non-localized, because the middleware that redirects to localized |
779 | 779 | // pages changes POSTs to GETs and messes up the request. |
780 | - Route::match(['get','post'], 'jobs/create/as-manager/{manager}', 'JobController@createAsManager') |
|
780 | + Route::match(['get', 'post'], 'jobs/create/as-manager/{manager}', 'JobController@createAsManager') |
|
781 | 781 | ->middleware('can:create,App\Models\JobPoster') |
782 | 782 | ->name('admin.jobs.create_as_manager'); |
783 | 783 | |
@@ -865,7 +865,7 @@ discard block |
||
865 | 865 | ->name('jobs.setJobStatus'); |
866 | 866 | Route::resource('jobs', 'Api\JobController')->only([ |
867 | 867 | 'show', 'store', 'update', 'index' |
868 | - ])->names([ // Specify custom names because default names collided with existing routes. |
|
868 | + ])->names([// Specify custom names because default names collided with existing routes. |
|
869 | 869 | 'show' => 'jobs.show', |
870 | 870 | 'store' => 'jobs.store', |
871 | 871 | 'update' => 'jobs.update', |
@@ -894,7 +894,7 @@ discard block |
||
894 | 894 | |
895 | 895 | Route::resource('managers', 'Api\ManagerController')->only([ |
896 | 896 | 'show', 'update' |
897 | - ])->names([ // Specify custom names because default names collided with existing routes. |
|
897 | + ])->names([// Specify custom names because default names collided with existing routes. |
|
898 | 898 | 'show' => 'managers.show', |
899 | 899 | 'update' => 'managers.update' |
900 | 900 | ]); |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\JsonResponse |
59 | 59 | */ |
60 | 60 | public function sendResetLinkEmail(Request $request) { |
61 | - if( User::where('email', $request->input('email'))->exists() ){ // Check if user exists. |
|
61 | + if (User::where('email', $request->input('email'))->exists()) { // Check if user exists. |
|
62 | 62 | Log::notice('Reset Password email requested by ' . $request->input('email')); |
63 | 63 | } |
64 | 64 | return $this->sendResetLinkEmailOverridden($request); |