@@ -24,7 +24,7 @@ |
||
24 | 24 | // create an instance of the model to be able to get the table name |
25 | 25 | $instance = new static(); |
26 | 26 | $conn = DB::connection($instance->getConnectionName()); |
27 | - $table = Config::get('database.connections.'.Config::get('database.default').'.pr e fix').$instance->getTable(); |
|
27 | + $table = Config::get('database.connections.' . Config::get('database.default') . '.pr e fix') . $instance->getTable(); |
|
28 | 28 | // MongoDB columns are alway nullable |
29 | 29 | if ($conn->getConfig()['driver'] === 'mongodb') { |
30 | 30 | return true; |
@@ -32,7 +32,7 @@ |
||
32 | 32 | // If job is being modified, only want to log when it goes from unpublished to published |
33 | 33 | if (($job->wasRecentlyCreated && $job->published) || |
34 | 34 | (!$job->wasRecentlyCreated && $job->published && !$job->getOriginal('published'))) { |
35 | - Log::notice('Job published: job {id='.$job->id.'} published by manager {id='.$job->manager->id.', email='.$job->manager->user->email.'}'); |
|
35 | + Log::notice('Job published: job {id=' . $job->id . '} published by manager {id=' . $job->manager->id . ', email=' . $job->manager->user->email . '}'); |
|
36 | 36 | } |
37 | 37 | } |
38 | 38 | } |
@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | View::composer( |
66 | 66 | ['common/relatives','common/reference','common/relatives-projects', |
67 | - 'common/sample', 'common/skill', 'common/modals/create_reference'], |
|
67 | + 'common/sample', 'common/skill', 'common/modals/create_reference'], |
|
68 | 68 | 'App\Http\ViewComposers\RelativeComposer' |
69 | 69 | ); |
70 | 70 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | ); |
64 | 64 | |
65 | 65 | View::composer( |
66 | - ['common/relatives','common/reference','common/relatives-projects', |
|
66 | + ['common/relatives', 'common/reference', 'common/relatives-projects', |
|
67 | 67 | 'common/sample', 'common/skill', 'common/modals/create_reference'], |
68 | 68 | 'App\Http\ViewComposers\RelativeComposer' |
69 | 69 | ); |
@@ -198,12 +198,12 @@ |
||
198 | 198 | 'logout_link' => route('manager.logout'), |
199 | 199 | ]; |
200 | 200 | } elseif (WhichPortal::isAdminPortal()) { |
201 | - $loginModals = [ |
|
201 | + $loginModals = [ |
|
202 | 202 | 'modals' => Lang::get('common/login_modals'), |
203 | 203 | 'register_link' => route('register'), |
204 | 204 | 'login_link' => backpack_url('login'), |
205 | 205 | 'logout_link' => backpack_url('logout'), |
206 | - ]; |
|
206 | + ]; |
|
207 | 207 | } else { |
208 | 208 | $loginModals = [ |
209 | 209 | 'modals' => Lang::get('common/login_modals'), |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * Convert a job poster to the array expected by API requests, |
30 | 30 | * with all criteria, |
31 | 31 | * and with translation arrays in both languages. |
32 | - * |
|
32 | + * |
|
33 | 33 | * @param \App\Models\JobPoster $job Incoming Job Poster object. |
34 | 34 | * @return mixed[] |
35 | 35 | */ |
@@ -26,12 +26,12 @@ |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
29 | - * Show the form for editing the applicant's experience |
|
30 | - * |
|
31 | - * @param \Illuminate\Http\Request $request Incoming request object. |
|
32 | - * @param \App\Models\Applicant $applicant Incoming applicant object. |
|
33 | - * @return \Illuminate\Http\Response |
|
34 | - */ |
|
29 | + * Show the form for editing the applicant's experience |
|
30 | + * |
|
31 | + * @param \Illuminate\Http\Request $request Incoming request object. |
|
32 | + * @param \App\Models\Applicant $applicant Incoming applicant object. |
|
33 | + * @return \Illuminate\Http\Response |
|
34 | + */ |
|
35 | 35 | public function edit(Request $request, Applicant $applicant) |
36 | 36 | { |
37 | 37 | return view('applicant/profile_02_experience', [ |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | // redirect to error messages element if validation fails |
139 | 139 | if (isset($request->validator) && $request->validator->fails()) { |
140 | 140 | $hash = '#managerProfileFormErrors'; |
141 | - return redirect(route('manager.profile.edit', $manager).$hash) |
|
141 | + return redirect(route('manager.profile.edit', $manager) . $hash) |
|
142 | 142 | ->withErrors($request->validator) |
143 | 143 | ->withInput(); |
144 | 144 | } |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | break; |
172 | 172 | } |
173 | 173 | |
174 | - return redirect(route('manager.profile.edit', $manager).$hash); |
|
174 | + return redirect(route('manager.profile.edit', $manager) . $hash); |
|
175 | 175 | } |
176 | 176 | |
177 | 177 | public function faq(Request $request) |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | 'description' => $question->description, |
92 | 92 | 'answer' => $answer, |
93 | 93 | 'answer_label' => $profileText['about_section']['answer_label'], |
94 | - 'input_name' => $this->answerFormInputName.'['.$question->id.']' |
|
94 | + 'input_name' => $this->answerFormInputName . '[' . $question->id . ']' |
|
95 | 95 | ]; |
96 | 96 | array_push($profileQuestionForms, $formValues); |
97 | 97 | } |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | )->first(); |
143 | 143 | if ($answer == null) { |
144 | 144 | $answer = new ApplicantProfileAnswer(); |
145 | - $answer->applicant_id =$applicant->id; |
|
145 | + $answer->applicant_id = $applicant->id; |
|
146 | 146 | $answer->applicant_profile_question_id = $question->id; |
147 | 147 | } |
148 | 148 | $answer->answer = $request->input($answerName); |
@@ -177,8 +177,8 @@ |
||
177 | 177 | 'type' => 'date_picker', |
178 | 178 | 'label' => 'Letter of Offer Issuance Date', |
179 | 179 | 'date_picker_options' => [ |
180 | - 'todayBtn' => 'linked', |
|
181 | - 'format' => 'yyyy-mm-dd', |
|
180 | + 'todayBtn' => 'linked', |
|
181 | + 'format' => 'yyyy-mm-dd', |
|
182 | 182 | ], |
183 | 183 | ]); |
184 | 184 | if ($this->crud->getCurrentEntry() && |