Passed
Push — feature/immutable-application-... ( 724692...212613 )
by Chris
34:25 queued 17:29
created
app/Models/Lookup/Department.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -56,19 +56,19 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
app/Models/Lookup/SecurityClearanceTranslation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
     ];
29 29
     protected $fillable = [];
30 30
 
31
-    public function security_clearance() {
32
-        return $this->belongsTo(\App\Models\Lookup\SecurityClearance::class);
31
+    public function security_clearance () {
32
+        return $this->belongsTo (\App\Models\Lookup\SecurityClearance::class);
33 33
     }
34 34
 
35 35
 }
Please login to merge, or discard this patch.
app/Models/Lookup/ProvinceTranslation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
     ];
29 29
     protected $fillable = [];
30 30
 
31
-    public function province() {
32
-        return $this->belongsTo(\App\Models\Lookup\Province::class);
31
+    public function province () {
32
+        return $this->belongsTo (\App\Models\Lookup\Province::class);
33 33
     }
34 34
 
35 35
 }
Please login to merge, or discard this patch.
app/Models/Lookup/SecurityClearance.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Models/Lookup/CourseStatus.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected $table = 'course_status';
20 20
     protected $fillable = [];
21 21
 
22
-    public function courses() {
23
-        return $this->hasMany(\App\Models\Course::class);
22
+    public function courses () {
23
+        return $this->hasMany (\App\Models\Course::class);
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
app/Models/Lookup/LanguageRequirement.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Models/Lookup/AssessmentTypeTranslation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
         'name',
34 34
     ];
35 35
 
36
-    public function assessment_type() {
37
-        return $this->belongsTo(\App\Models\Lookup\AssessmentType::class);
36
+    public function assessment_type () {
37
+        return $this->belongsTo (\App\Models\Lookup\AssessmentType::class);
38 38
     }
39 39
 
40 40
 }
Please login to merge, or discard this patch.
app/Models/Lookup/FileTypeTranslation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
     ];
29 29
     protected $fillable = [];
30 30
 
31
-    public function file_type() {
32
-        return $this->belongsTo(\App\Models\Lookup\FileType::class);
31
+    public function file_type () {
32
+        return $this->belongsTo (\App\Models\Lookup\FileType::class);
33 33
     }
34 34
 
35 35
 }
Please login to merge, or discard this patch.
app/Models/Lookup/SkillLevel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.