@@ -18,9 +18,9 @@ discard block |
||
18 | 18 | * |
19 | 19 | * @return void |
20 | 20 | */ |
21 | - public function sendPasswordResetNotification($token) : void |
|
21 | + public function sendPasswordResetNotification ($token) : void |
|
22 | 22 | { |
23 | - $this->notify(new ResetPasswordNotification($token)); |
|
23 | + $this->notify (new ResetPasswordNotification ($token)); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * |
29 | 29 | * @return string |
30 | 30 | */ |
31 | - public function getEmailForPasswordReset() : string |
|
31 | + public function getEmailForPasswordReset () : string |
|
32 | 32 | { |
33 | 33 | return $this->email; |
34 | 34 | } |
@@ -56,19 +56,19 @@ discard block |
||
56 | 56 | 'preference', |
57 | 57 | ]; |
58 | 58 | |
59 | - public function managers() // phpcs:ignore |
|
59 | + public function managers () // phpcs:ignore |
|
60 | 60 | { |
61 | - return $this->hasMany(\App\Models\Manager::class); |
|
61 | + return $this->hasMany (\App\Models\Manager::class); |
|
62 | 62 | } |
63 | 63 | |
64 | - public function department_translations() // phpcs:ignore |
|
64 | + public function department_translations () // phpcs:ignore |
|
65 | 65 | { |
66 | - return $this->hasMany(\App\Models\Lookup\DepartmentTranslation::class); |
|
66 | + return $this->hasMany (\App\Models\Lookup\DepartmentTranslation::class); |
|
67 | 67 | } |
68 | 68 | |
69 | - public function job_posters() // phpcs:ignore |
|
69 | + public function job_posters () // phpcs:ignore |
|
70 | 70 | { |
71 | - return $this->hasMany(\App\Models\JobPoster::class); |
|
71 | + return $this->hasMany (\App\Models\JobPoster::class); |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
@@ -76,13 +76,13 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @return mixed[] |
78 | 78 | */ |
79 | - public function toApiArray() |
|
79 | + public function toApiArray () |
|
80 | 80 | { |
81 | 81 | $deptArray = ['id' => $this->id]; |
82 | 82 | foreach (['en', 'fr'] as $locale) { |
83 | 83 | $deptArray[$locale] = [ |
84 | - 'name' => $this->getTranslation('name', $locale), |
|
85 | - 'impact' => $this->getTranslation('impact', $locale), |
|
84 | + 'name' => $this->getTranslation ('name', $locale), |
|
85 | + 'impact' => $this->getTranslation ('impact', $locale), |
|
86 | 86 | ]; |
87 | 87 | } |
88 | 88 | return $deptArray; |
@@ -32,13 +32,13 @@ |
||
32 | 32 | public $translatedAttributes = ['value']; |
33 | 33 | protected $fillable = []; |
34 | 34 | |
35 | - public function job_posters() //phpcs:ignore |
|
35 | + public function job_posters () //phpcs:ignore |
|
36 | 36 | { |
37 | - return $this->hasMany(\App\Models\JobPoster::class); |
|
37 | + return $this->hasMany (\App\Models\JobPoster::class); |
|
38 | 38 | } |
39 | 39 | |
40 | - public function security_clearance_translations() //phpcs:ignore |
|
40 | + public function security_clearance_translations () //phpcs:ignore |
|
41 | 41 | { |
42 | - return $this->hasMany(\App\Models\Lookup\SecurityClearanceTranslation::class); |
|
42 | + return $this->hasMany (\App\Models\Lookup\SecurityClearanceTranslation::class); |
|
43 | 43 | } |
44 | 44 | } |
@@ -32,13 +32,13 @@ |
||
32 | 32 | public $translatedAttributes = ['value']; |
33 | 33 | protected $fillable = []; |
34 | 34 | |
35 | - public function job_posters() //phpcs:ignore |
|
35 | + public function job_posters () //phpcs:ignore |
|
36 | 36 | { |
37 | - return $this->hasMany(\App\Models\JobPoster::class); |
|
37 | + return $this->hasMany (\App\Models\JobPoster::class); |
|
38 | 38 | } |
39 | 39 | |
40 | - public function language_requirement_translations() //phpcs:ignore |
|
40 | + public function language_requirement_translations () //phpcs:ignore |
|
41 | 41 | { |
42 | - return $this->hasMany(\App\Models\Lookup\LanguageRequirementTranslation::class); |
|
42 | + return $this->hasMany (\App\Models\Lookup\LanguageRequirementTranslation::class); |
|
43 | 43 | } |
44 | 44 | } |
@@ -32,13 +32,13 @@ |
||
32 | 32 | public $translatedAttributes = ['value']; |
33 | 33 | protected $fillable = []; |
34 | 34 | |
35 | - public function skill_declarations() //phpcs:ignore |
|
35 | + public function skill_declarations () //phpcs:ignore |
|
36 | 36 | { |
37 | - return $this->hasMany(\App\Models\SkillDeclaration::class); |
|
37 | + return $this->hasMany (\App\Models\SkillDeclaration::class); |
|
38 | 38 | } |
39 | 39 | |
40 | - public function skill_level_translations() //phpcs:ignore |
|
40 | + public function skill_level_translations () //phpcs:ignore |
|
41 | 41 | { |
42 | - return $this->hasMany(\App\Models\Lookup\SkillLevelTranslation::class); |
|
42 | + return $this->hasMany (\App\Models\Lookup\SkillLevelTranslation::class); |
|
43 | 43 | } |
44 | 44 | } |
@@ -32,13 +32,13 @@ |
||
32 | 32 | public $translatedAttributes = ['value']; |
33 | 33 | protected $fillable = []; |
34 | 34 | |
35 | - public function citizenship_declaration_translations() //phpcs:ignore |
|
35 | + public function citizenship_declaration_translations () //phpcs:ignore |
|
36 | 36 | { |
37 | - return $this->hasMany(\App\Models\Lookup\CitizenshipDeclarationTranslation::class); |
|
37 | + return $this->hasMany (\App\Models\Lookup\CitizenshipDeclarationTranslation::class); |
|
38 | 38 | } |
39 | 39 | |
40 | - public function job_applications() //phpcs:ignore |
|
40 | + public function job_applications () //phpcs:ignore |
|
41 | 41 | { |
42 | - return $this->hasMany(\App\Models\JobApplication::class); |
|
42 | + return $this->hasMany (\App\Models\JobApplication::class); |
|
43 | 43 | } |
44 | 44 | } |
@@ -32,13 +32,13 @@ |
||
32 | 32 | public $translatedAttributes = ['value']; |
33 | 33 | protected $fillable = []; |
34 | 34 | |
35 | - public function application_status_translations() //phpcs:ignore |
|
35 | + public function application_status_translations () //phpcs:ignore |
|
36 | 36 | { |
37 | - return $this->hasMany(\App\Models\Lookup\ApplicationStatusTranslation::class); |
|
37 | + return $this->hasMany (\App\Models\Lookup\ApplicationStatusTranslation::class); |
|
38 | 38 | } |
39 | 39 | |
40 | - public function job_applications() //phpcs:ignore |
|
40 | + public function job_applications () //phpcs:ignore |
|
41 | 41 | { |
42 | - return $this->hasMany(\App\Models\JobApplication::class); |
|
42 | + return $this->hasMany (\App\Models\JobApplication::class); |
|
43 | 43 | } |
44 | 44 | } |
@@ -31,13 +31,13 @@ |
||
31 | 31 | public $translatedAttributes = ['value']; |
32 | 32 | protected $fillable = []; |
33 | 33 | |
34 | - public function job_posters() //phpcs:ignore |
|
34 | + public function job_posters () //phpcs:ignore |
|
35 | 35 | { |
36 | - return $this->hasMany(\App\Models\JobPoster::class); |
|
36 | + return $this->hasMany (\App\Models\JobPoster::class); |
|
37 | 37 | } |
38 | 38 | |
39 | - public function province_translations() //phpcs:ignore |
|
39 | + public function province_translations () //phpcs:ignore |
|
40 | 40 | { |
41 | - return $this->hasMany(\App\Models\Lookup\ProvinceTranslation::class); |
|
41 | + return $this->hasMany (\App\Models\Lookup\ProvinceTranslation::class); |
|
42 | 42 | } |
43 | 43 | } |
@@ -30,8 +30,8 @@ |
||
30 | 30 | * |
31 | 31 | * @return \Illuminate\Database\Eloquent\Collection |
32 | 32 | */ |
33 | - public function assessments() // phpcs:ignore |
|
33 | + public function assessments () // phpcs:ignore |
|
34 | 34 | { |
35 | - return $this->hasMany(Assessment::class); |
|
35 | + return $this->hasMany (Assessment::class); |
|
36 | 36 | } |
37 | 37 | } |