@@ -36,13 +36,13 @@ |
||
36 | 36 | ]; |
37 | 37 | protected $fillable = []; |
38 | 38 | |
39 | - public function job_poster() //phpcs:ignore |
|
39 | + public function job_poster () //phpcs:ignore |
|
40 | 40 | { |
41 | - return $this->belongsTo(\App\Models\JobPoster::class); |
|
41 | + return $this->belongsTo (\App\Models\JobPoster::class); |
|
42 | 42 | } |
43 | 43 | |
44 | - public function job_application_answers() //phpcs:ignore |
|
44 | + public function job_application_answers () //phpcs:ignore |
|
45 | 45 | { |
46 | - return $this->hasMany(\App\Models\JobApplicationAnswer::class, 'job_poster_questions_id'); |
|
46 | + return $this->hasMany (\App\Models\JobApplicationAnswer::class, 'job_poster_questions_id'); |
|
47 | 47 | } |
48 | 48 | } |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * @param string $token |
33 | 33 | * @return void |
34 | 34 | */ |
35 | - public function __construct($token) |
|
35 | + public function __construct ($token) |
|
36 | 36 | { |
37 | 37 | $this->token = $token; |
38 | 38 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * @param mixed $notifiable |
44 | 44 | * @return array |
45 | 45 | */ |
46 | - public function via($notifiable) |
|
46 | + public function via ($notifiable) |
|
47 | 47 | { |
48 | 48 | return ['mail']; |
49 | 49 | } |
@@ -54,14 +54,14 @@ discard block |
||
54 | 54 | * @param mixed $notifiable |
55 | 55 | * @return \Illuminate\Notifications\Messages\MailMessage |
56 | 56 | */ |
57 | - public function toMail($notifiable) |
|
57 | + public function toMail ($notifiable) |
|
58 | 58 | { |
59 | 59 | return (new MailMessage) |
60 | - ->subject(Lang::get('common/notifications/password_reset.subject')) |
|
61 | - ->greeting(Lang::get('common/notifications/password_reset.greeting')) |
|
62 | - ->line(Lang::get('common/notifications/password_reset.line_1')) |
|
63 | - ->action(Lang::get('common/notifications/password_reset.action'), url(route('password.reset', $this->token, false))) |
|
64 | - ->line(Lang::get('common/notifications/password_reset.line_2')) |
|
65 | - ->salutation(Lang::get('common/notifications/password_reset.salutation', ['name' => config('mail.from.name')])); |
|
60 | + ->subject (Lang::get ('common/notifications/password_reset.subject')) |
|
61 | + ->greeting (Lang::get ('common/notifications/password_reset.greeting')) |
|
62 | + ->line (Lang::get ('common/notifications/password_reset.line_1')) |
|
63 | + ->action (Lang::get ('common/notifications/password_reset.action'), url (route ('password.reset', $this->token, false))) |
|
64 | + ->line (Lang::get ('common/notifications/password_reset.line_2')) |
|
65 | + ->salutation (Lang::get ('common/notifications/password_reset.salutation', ['name' => config ('mail.from.name')])); |
|
66 | 66 | } |
67 | 67 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * |
44 | 44 | * @return void |
45 | 45 | */ |
46 | - public function __construct(JobPoster $jobPoster, User $manager) |
|
46 | + public function __construct (JobPoster $jobPoster, User $manager) |
|
47 | 47 | { |
48 | 48 | $this->jobPoster = $jobPoster; |
49 | 49 | $this->manager = $manager; |
@@ -54,8 +54,8 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @return $this |
56 | 56 | */ |
57 | - public function build() |
|
57 | + public function build () |
|
58 | 58 | { |
59 | - return $this->text('emails.job_posters.review_requested_plain'); |
|
59 | + return $this->text ('emails.job_posters.review_requested_plain'); |
|
60 | 60 | } |
61 | 61 | } |
@@ -21,9 +21,9 @@ |
||
21 | 21 | * @param View $view |
22 | 22 | * @return void |
23 | 23 | */ |
24 | - public function compose(View $view) |
|
24 | + public function compose (View $view) |
|
25 | 25 | { |
26 | - $view->with('footer', Lang::get('common/footer')) |
|
27 | - ->with('date_modified', humanizeDate(new Date(self::DATE_MODIFIED, Config::get('app.local_timezone')))); |
|
26 | + $view->with ('footer', Lang::get ('common/footer')) |
|
27 | + ->with ('date_modified', humanizeDate (new Date (self::DATE_MODIFIED, Config::get ('app.local_timezone')))); |
|
28 | 28 | } |
29 | 29 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | * @param View $view |
14 | 14 | * @return void |
15 | 15 | */ |
16 | - public function compose(View $view) |
|
16 | + public function compose (View $view) |
|
17 | 17 | { |
18 | - $view->with('alert', Lang::get('common/alert')); |
|
18 | + $view->with ('alert', Lang::get ('common/alert')); |
|
19 | 19 | } |
20 | 20 | } |
21 | 21 | \ No newline at end of file |
@@ -26,19 +26,19 @@ |
||
26 | 26 | * |
27 | 27 | * @return void |
28 | 28 | */ |
29 | - public function compose(View $view) : void |
|
29 | + public function compose (View $view) : void |
|
30 | 30 | { |
31 | 31 | if (!$this->skillLevels) { |
32 | - $this->skillLevels = SkillLevel::all(); |
|
32 | + $this->skillLevels = SkillLevel::all (); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | if (!$this->skills) { |
36 | - $this->skills = Skill::all(); |
|
36 | + $this->skills = Skill::all (); |
|
37 | 37 | } |
38 | 38 | |
39 | - $view->with('skills', $this->skills); |
|
40 | - $view->with('skill_levels', $this->skillLevels); |
|
41 | - $view->with('skill_template', Lang::get('common/skills')); |
|
42 | - $view->with('skills_modal', Lang::get('common/skills_modals')); |
|
39 | + $view->with ('skills', $this->skills); |
|
40 | + $view->with ('skill_levels', $this->skillLevels); |
|
41 | + $view->with ('skill_template', Lang::get ('common/skills')); |
|
42 | + $view->with ('skills_modal', Lang::get ('common/skills_modals')); |
|
43 | 43 | } |
44 | 44 | } |
@@ -14,11 +14,11 @@ discard block |
||
14 | 14 | * @param View $view |
15 | 15 | * @return void |
16 | 16 | */ |
17 | - public function compose(View $view) |
|
17 | + public function compose (View $view) |
|
18 | 18 | { |
19 | - $locale = LaravelLocalization::getCurrentLocale(); |
|
19 | + $locale = LaravelLocalization::getCurrentLocale (); |
|
20 | 20 | |
21 | - switch($locale) { |
|
21 | + switch ($locale) { |
|
22 | 22 | case 'en': |
23 | 23 | $linkLocale = 'fr'; |
24 | 24 | break; |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | break; |
31 | 31 | } |
32 | 32 | |
33 | - $view->with('lang_menu', Lang::get('common/lang_menu')); |
|
34 | - $view->with('language_link', LaravelLocalization::getLocalizedURL($linkLocale)); |
|
33 | + $view->with ('lang_menu', Lang::get ('common/lang_menu')); |
|
34 | + $view->with ('language_link', LaravelLocalization::getLocalizedURL ($linkLocale)); |
|
35 | 35 | } |
36 | 36 | } |
@@ -20,13 +20,13 @@ |
||
20 | 20 | * |
21 | 21 | * @return void |
22 | 22 | */ |
23 | - public function compose(View $view) : void |
|
23 | + public function compose (View $view) : void |
|
24 | 24 | { |
25 | 25 | if (!$this->fileTypes) { |
26 | - $this->fileTypes = FileType::all(); |
|
26 | + $this->fileTypes = FileType::all (); |
|
27 | 27 | } |
28 | 28 | |
29 | - $view->with('file_types', $this->fileTypes); |
|
30 | - $view->with('sample_template', Lang::get('common/work_samples')); |
|
29 | + $view->with ('file_types', $this->fileTypes); |
|
30 | + $view->with ('sample_template', Lang::get ('common/work_samples')); |
|
31 | 31 | } |
32 | 32 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | * @param View $view |
14 | 14 | * @return void |
15 | 15 | */ |
16 | - public function compose(View $view) |
|
16 | + public function compose (View $view) |
|
17 | 17 | { |
18 | - $view->with('work_template', Lang::get('common/work_experience')); |
|
18 | + $view->with ('work_template', Lang::get ('common/work_experience')); |
|
19 | 19 | } |
20 | 20 | } |