@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @return void |
18 | 18 | */ |
19 | - public function __construct(JobApplication $application) |
|
19 | + public function __construct (JobApplication $application) |
|
20 | 20 | { |
21 | 21 | $this->application = $application; |
22 | 22 | } |
@@ -34,12 +34,12 @@ |
||
34 | 34 | 'applicant_profile_question' |
35 | 35 | ]; |
36 | 36 | |
37 | - public function applicant() { |
|
38 | - return $this->belongsTo(\App\Models\Applicant::class); |
|
37 | + public function applicant () { |
|
38 | + return $this->belongsTo (\App\Models\Applicant::class); |
|
39 | 39 | } |
40 | 40 | |
41 | - public function applicant_profile_question() { |
|
42 | - return $this->belongsTo(\App\Models\Lookup\ApplicantProfileQuestion::class); |
|
41 | + public function applicant_profile_question () { |
|
42 | + return $this->belongsTo (\App\Models\Lookup\ApplicantProfileQuestion::class); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @param string|null $value Criterion Id, or empty string |
35 | 35 | * @return void |
36 | 36 | */ |
37 | - public function setCriterionIdAttribute($value): void |
|
37 | + public function setCriterionIdAttribute ($value): void |
|
38 | 38 | { |
39 | 39 | if (empty($value)) { // will check for empty string, null values |
40 | 40 | $this->attributes['criterion_id'] = null; |
@@ -48,9 +48,9 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
50 | 50 | */ |
51 | - public function rating_guide_question(): \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
51 | + public function rating_guide_question (): \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
52 | 52 | { |
53 | - return $this->belongsTo(\App\Models\RatingGuideQuestion::class); |
|
53 | + return $this->belongsTo (\App\Models\RatingGuideQuestion::class); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
@@ -58,8 +58,8 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
60 | 60 | */ |
61 | - public function criterion(): \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
61 | + public function criterion (): \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
62 | 62 | { |
63 | - return $this->belongsTo(\App\Models\Criteria::class, 'criterion_id'); |
|
63 | + return $this->belongsTo (\App\Models\Criteria::class, 'criterion_id'); |
|
64 | 64 | } |
65 | 65 | } |
@@ -31,8 +31,8 @@ |
||
31 | 31 | 'image' |
32 | 32 | ]; |
33 | 33 | |
34 | - public function user() { |
|
35 | - return $this->belongsTo(\App\Models\User::class); |
|
34 | + public function user () { |
|
35 | + return $this->belongsTo (\App\Models\User::class); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | } |
@@ -21,8 +21,8 @@ |
||
21 | 21 | |
22 | 22 | protected $fillable = []; |
23 | 23 | |
24 | - public function users() |
|
24 | + public function users () |
|
25 | 25 | { |
26 | - return $this->hasMany(\App\Models\User::class); |
|
26 | + return $this->hasMany (\App\Models\User::class); |
|
27 | 27 | } |
28 | 28 | } |
@@ -30,12 +30,12 @@ |
||
30 | 30 | 'answer' |
31 | 31 | ]; |
32 | 32 | |
33 | - public function job_application() { |
|
34 | - return $this->belongsTo(\App\Models\JobApplication::class); |
|
33 | + public function job_application () { |
|
34 | + return $this->belongsTo (\App\Models\JobApplication::class); |
|
35 | 35 | } |
36 | 36 | |
37 | - public function job_poster_question() { |
|
38 | - return $this->belongsTo(\App\Models\JobPosterQuestion::class); |
|
37 | + public function job_poster_question () { |
|
38 | + return $this->belongsTo (\App\Models\JobPosterQuestion::class); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | } |
@@ -30,8 +30,8 @@ |
||
30 | 30 | 'description' |
31 | 31 | ]; |
32 | 32 | |
33 | - public function job_poster_question() { |
|
34 | - return $this->belongsTo(\App\Models\JobPosterQuestion::class); |
|
33 | + public function job_poster_question () { |
|
34 | + return $this->belongsTo (\App\Models\JobPosterQuestion::class); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | } |
@@ -35,9 +35,9 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return Illuminate\Database\Eloquent\Relations\Relation |
37 | 37 | */ |
38 | - public function criterion() // phpcs:ignore |
|
38 | + public function criterion () // phpcs:ignore |
|
39 | 39 | { |
40 | - return $this->belongsTo(Criteria::class, 'criterion_id'); |
|
40 | + return $this->belongsTo (Criteria::class, 'criterion_id'); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
@@ -45,8 +45,8 @@ discard block |
||
45 | 45 | * |
46 | 46 | * @return Illuminate\Database\Eloquent\Relations\Relation |
47 | 47 | */ |
48 | - public function assessment_type() // phpcs:ignore |
|
48 | + public function assessment_type () // phpcs:ignore |
|
49 | 49 | { |
50 | - return $this->belongsTo(AssessmentType::class); |
|
50 | + return $this->belongsTo (AssessmentType::class); |
|
51 | 51 | } |
52 | 52 | } |
@@ -45,13 +45,13 @@ |
||
45 | 45 | 'gc_directory_url' |
46 | 46 | ]; |
47 | 47 | |
48 | - public function manager() |
|
48 | + public function manager () |
|
49 | 49 | { |
50 | - return $this->belongsTo(\App\Models\Manager::class); |
|
50 | + return $this->belongsTo (\App\Models\Manager::class); |
|
51 | 51 | } |
52 | 52 | |
53 | - public function team_culture_translations() //phpcs:ignore |
|
53 | + public function team_culture_translations () //phpcs:ignore |
|
54 | 54 | { |
55 | - return $this->hasMany(\App\Models\TeamCultureTranslation::class); |
|
55 | + return $this->hasMany (\App\Models\TeamCultureTranslation::class); |
|
56 | 56 | } |
57 | 57 | } |