@@ -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 job_term_translations() //phpcs:ignore |
|
| 39 | + public function job_term_translations () //phpcs:ignore |
|
| 40 | 40 | { |
| 41 | - return $this->hasMany(\App\Models\Lookup\JobTermTranslation::class); |
|
| 41 | + return $this->hasMany (\App\Models\Lookup\JobTermTranslation::class); |
|
| 42 | 42 | } |
| 43 | 43 | } |
@@ -33,13 +33,13 @@ |
||
| 33 | 33 | public $translatedAttributes = ['value', 'description']; |
| 34 | 34 | protected $fillable = []; |
| 35 | 35 | |
| 36 | - public function criteria() |
|
| 36 | + public function criteria () |
|
| 37 | 37 | { |
| 38 | - return $this->hasMany(\App\Models\Criteria::class); |
|
| 38 | + return $this->hasMany (\App\Models\Criteria::class); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - public function criteria_type_translations() //phpcs:ignore |
|
| 41 | + public function criteria_type_translations () //phpcs:ignore |
|
| 42 | 42 | { |
| 43 | - return $this->hasMany(\App\Models\CriteriaTypeTranslation::class); |
|
| 43 | + return $this->hasMany (\App\Models\CriteriaTypeTranslation::class); |
|
| 44 | 44 | } |
| 45 | 45 | } |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | ]; |
| 35 | 35 | protected $fillable = []; |
| 36 | 36 | |
| 37 | - public function job_poster() //phpcs:ignore |
|
| 37 | + public function job_poster () //phpcs:ignore |
|
| 38 | 38 | { |
| 39 | - return $this->belongsTo(\App\Models\JobPoster::class); |
|
| 39 | + return $this->belongsTo (\App\Models\JobPoster::class); |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -25,13 +25,13 @@ |
||
| 25 | 25 | 'key' |
| 26 | 26 | ]; |
| 27 | 27 | |
| 28 | - public function skills() |
|
| 28 | + public function skills () |
|
| 29 | 29 | { |
| 30 | - return $this->belongsToMany(\App\Models\Skill::class)->withTimestamps(); |
|
| 30 | + return $this->belongsToMany (\App\Models\Skill::class)->withTimestamps (); |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - public function job_posters() //phpcs:ignore |
|
| 33 | + public function job_posters () //phpcs:ignore |
|
| 34 | 34 | { |
| 35 | - return $this->belongsToMany(\App\Models\JobPoster::class); |
|
| 35 | + return $this->belongsToMany (\App\Models\JobPoster::class); |
|
| 36 | 36 | } |
| 37 | 37 | } |
@@ -59,8 +59,8 @@ |
||
| 59 | 59 | 'culture_special', |
| 60 | 60 | ]; |
| 61 | 61 | |
| 62 | - public function job_poster() |
|
| 62 | + public function job_poster () |
|
| 63 | 63 | { |
| 64 | - return $this->belongsTo(\App\Models\JobPoster::class); |
|
| 64 | + return $this->belongsTo (\App\Models\JobPoster::class); |
|
| 65 | 65 | } |
| 66 | 66 | } |
@@ -47,28 +47,28 @@ |
||
| 47 | 47 | 'flexible_hours_frequency' |
| 48 | 48 | ]; |
| 49 | 49 | |
| 50 | - public function manager() |
|
| 50 | + public function manager () |
|
| 51 | 51 | { |
| 52 | - return $this->belongsTo(\App\Models\Manager::class); |
|
| 52 | + return $this->belongsTo (\App\Models\Manager::class); |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function telework_allowed_frequency() //phpcs:ignore |
|
| 55 | + public function telework_allowed_frequency () //phpcs:ignore |
|
| 56 | 56 | { |
| 57 | - return $this->belongsTo(\App\Models\Lookup\Frequency::class); |
|
| 57 | + return $this->belongsTo (\App\Models\Lookup\Frequency::class); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - public function flexible_hours_frequency() //phpcs:ignore |
|
| 60 | + public function flexible_hours_frequency () //phpcs:ignore |
|
| 61 | 61 | { |
| 62 | - return $this->belongsTo(\App\Models\Lookup\Frequency::class); |
|
| 62 | + return $this->belongsTo (\App\Models\Lookup\Frequency::class); |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - public function workplace_photo_captions() //phpcs:ignore |
|
| 65 | + public function workplace_photo_captions () //phpcs:ignore |
|
| 66 | 66 | { |
| 67 | - return $this->hasMany(\App\Models\WorkplacePhotoCaption::class); |
|
| 67 | + return $this->hasMany (\App\Models\WorkplacePhotoCaption::class); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | - public function work_environment_translations() //phpcs:ignore |
|
| 70 | + public function work_environment_translations () //phpcs:ignore |
|
| 71 | 71 | { |
| 72 | - return $this->hasMany(\App\Models\WorkEnvironmentTranslation::class); |
|
| 72 | + return $this->hasMany (\App\Models\WorkEnvironmentTranslation::class); |
|
| 73 | 73 | } |
| 74 | 74 | } |
@@ -58,19 +58,19 @@ discard block |
||
| 58 | 58 | 'description', |
| 59 | 59 | ]; |
| 60 | 60 | |
| 61 | - public function skill_type() // phpcs:ignore |
|
| 61 | + public function skill_type () // phpcs:ignore |
|
| 62 | 62 | { |
| 63 | - return $this->belongsTo(\App\Models\Lookup\SkillType::class); |
|
| 63 | + return $this->belongsTo (\App\Models\Lookup\SkillType::class); |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - public function skill_declarations() // phpcs:ignore |
|
| 66 | + public function skill_declarations () // phpcs:ignore |
|
| 67 | 67 | { |
| 68 | - return $this->hasMany(\App\Models\SkillDeclaration::class); |
|
| 68 | + return $this->hasMany (\App\Models\SkillDeclaration::class); |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - public function classifications() // phpcs:ignore |
|
| 71 | + public function classifications () // phpcs:ignore |
|
| 72 | 72 | { |
| 73 | - return $this->belongsToMany(\App\Models\Classification::class)->withTimestamps(); |
|
| 73 | + return $this->belongsToMany (\App\Models\Classification::class)->withTimestamps (); |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * |
| 81 | 81 | * @return void |
| 82 | 82 | */ |
| 83 | - public function setIsCultureSkillAttribute($value) : void |
|
| 83 | + public function setIsCultureSkillAttribute ($value) : void |
|
| 84 | 84 | { |
| 85 | 85 | if ($value === null) { |
| 86 | 86 | $value = false; |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * |
| 96 | 96 | * @return void |
| 97 | 97 | */ |
| 98 | - public function setIsFutureSkillAttribute($value) : void |
|
| 98 | + public function setIsFutureSkillAttribute ($value) : void |
|
| 99 | 99 | { |
| 100 | 100 | if ($value === null) { |
| 101 | 101 | $value = false; |
@@ -109,9 +109,9 @@ discard block |
||
| 109 | 109 | * |
| 110 | 110 | * @return mixed[] |
| 111 | 111 | */ |
| 112 | - public function toArray() : array |
|
| 112 | + public function toArray () : array |
|
| 113 | 113 | { |
| 114 | - $array = parent::toArray(); |
|
| 114 | + $array = parent::toArray (); |
|
| 115 | 115 | $array['name'] = $this->name; |
| 116 | 116 | $array['description'] = $this->description; |
| 117 | 117 | return $array; |
@@ -40,8 +40,8 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | * Get the JobPoster relationship |
| 42 | 42 | */ |
| 43 | - public function job_poster() |
|
| 43 | + public function job_poster () |
|
| 44 | 44 | { |
| 45 | - return $this->belongsTo(\App\Models\JobPoster::class); |
|
| 45 | + return $this->belongsTo (\App\Models\JobPoster::class); |
|
| 46 | 46 | } |
| 47 | 47 | } |
@@ -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 | } |