@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @return void |
| 18 | 18 | */ |
| 19 | - public function __construct(JobPoster $job) |
|
| 19 | + public function __construct (JobPoster $job) |
|
| 20 | 20 | { |
| 21 | 21 | $this->job = $job; |
| 22 | 22 | } |
@@ -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 | } |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @return void |
| 18 | 18 | */ |
| 19 | - public function __construct(User $user) |
|
| 19 | + public function __construct (User $user) |
|
| 20 | 20 | { |
| 21 | 21 | $this->user = $user; |
| 22 | 22 | } |
@@ -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 | } |