Passed
Push — task/common-translation-packag... ( 852212...2abece )
by Grant
07:25
created
app/Models/Assessment.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 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
     /**
@@ -47,6 +47,6 @@  discard block
 block discarded – undo
47 47
      */
48 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
 }
Please login to merge, or discard this patch.
app/Models/Degree.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@
 block discarded – undo
53 53
 
54 54
     public function degree_type()
55 55
     {
56
-        return $this->belongsTo(\App\Models\Lookup\DegreeType::class);
56
+        return $this->belongsTo (\App\Models\Lookup\DegreeType::class);
57 57
     }
58 58
 
59 59
     public function applicant()
60 60
     {
61
-        return $this->belongsTo(\App\Models\Applicant::class);
61
+        return $this->belongsTo (\App\Models\Applicant::class);
62 62
     }
63 63
 }
Please login to merge, or discard this patch.
app/Models/RatingGuideAnswer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 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
     /**
@@ -60,6 +60,6 @@  discard block
 block discarded – undo
60 60
      */
61 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
 }
Please login to merge, or discard this patch.
app/Models/TeamCulture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,6 +50,6 @@
 block discarded – undo
50 50
 
51 51
     public function manager()
52 52
     {
53
-        return $this->belongsTo(\App\Models\Manager::class);
53
+        return $this->belongsTo (\App\Models\Manager::class);
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
app/Models/AssessmentPlanNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,6 @@
 block discarded – undo
42 42
      */
43 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
 }
Please login to merge, or discard this patch.
app/Models/WorkEnvironment.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,21 +44,21 @@
 block discarded – undo
44 44
 
45 45
     public function manager()
46 46
     {
47
-        return $this->belongsTo(\App\Models\Manager::class);
47
+        return $this->belongsTo (\App\Models\Manager::class);
48 48
     }
49 49
 
50 50
     public function telework_allowed_frequency() //phpcs:ignore
51 51
     {
52
-        return $this->belongsTo(\App\Models\Lookup\Frequency::class);
52
+        return $this->belongsTo (\App\Models\Lookup\Frequency::class);
53 53
     }
54 54
 
55 55
     public function flexible_hours_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 60
     public function workplace_photo_captions() //phpcs:ignore
61 61
     {
62
-        return $this->hasMany(\App\Models\WorkplacePhotoCaption::class);
62
+        return $this->hasMany (\App\Models\WorkplacePhotoCaption::class);
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
app/Models/RatingGuideQuestion.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function job_poster(): \Illuminate\Database\Eloquent\Relations\BelongsTo
38 38
     {
39
-        return $this->belongsTo(\App\Models\JobPoster::class);
39
+        return $this->belongsTo (\App\Models\JobPoster::class);
40 40
     }
41 41
 
42 42
     /**
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function assessment_type(): \Illuminate\Database\Eloquent\Relations\BelongsTo
48 48
     {
49
-        return $this->belongsTo(\App\Models\Lookup\AssessmentType::class);
49
+        return $this->belongsTo (\App\Models\Lookup\AssessmentType::class);
50 50
     }
51 51
 
52 52
     /**
@@ -56,6 +56,6 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function rating_guide_answers(): \Illuminate\Database\Eloquent\Relations\HasMany
58 58
     {
59
-        return $this->hasMany(\App\Models\RatingGuideAnswer::class);
59
+        return $this->hasMany (\App\Models\RatingGuideAnswer::class);
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
app/Models/BackpackUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 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
     /**
Please login to merge, or discard this patch.
app/Models/Manager.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -138,52 +138,52 @@  discard block
 block discarded – undo
138 138
 
139 139
     public function user()
140 140
     {
141
-        return $this->belongsTo(\App\Models\User::class);
141
+        return $this->belongsTo (\App\Models\User::class);
142 142
     }
143 143
 
144 144
     public function department()
145 145
     {
146
-        return $this->belongsTo(\App\Models\Lookup\Department::class);
146
+        return $this->belongsTo (\App\Models\Lookup\Department::class);
147 147
     }
148 148
 
149 149
     public function job_posters() //phpcs:ignore
150 150
     {
151
-        return $this->hasMany(\App\Models\JobPoster::class);
151
+        return $this->hasMany (\App\Models\JobPoster::class);
152 152
     }
153 153
 
154 154
     public function work_environment() //phpcs:ignore
155 155
     {
156
-        return $this->hasOne(\App\Models\WorkEnvironment::class)->withDefault();
156
+        return $this->hasOne (\App\Models\WorkEnvironment::class)->withDefault ();
157 157
     }
158 158
 
159 159
     public function team_culture() //phpcs:ignore
160 160
     {
161
-        return $this->hasOne(\App\Models\TeamCulture::class)->withDefault();
161
+        return $this->hasOne (\App\Models\TeamCulture::class)->withDefault ();
162 162
     }
163 163
 
164 164
     public function work_review_frequency() //phpcs:ignore
165 165
     {
166
-        return $this->belongsTo(\App\Models\Lookup\Frequency::class);
166
+        return $this->belongsTo (\App\Models\Lookup\Frequency::class);
167 167
     }
168 168
 
169 169
     public function stay_late_frequency() //phpcs:ignore
170 170
     {
171
-        return $this->belongsTo(\App\Models\Lookup\Frequency::class);
171
+        return $this->belongsTo (\App\Models\Lookup\Frequency::class);
172 172
     }
173 173
 
174 174
     public function engage_team_frequency() //phpcs:ignore
175 175
     {
176
-        return $this->belongsTo(\App\Models\Lookup\Frequency::class);
176
+        return $this->belongsTo (\App\Models\Lookup\Frequency::class);
177 177
     }
178 178
 
179 179
     public function development_opportunity_frequency() //phpcs:ignore
180 180
     {
181
-        return $this->belongsTo(\App\Models\Lookup\Frequency::class);
181
+        return $this->belongsTo (\App\Models\Lookup\Frequency::class);
182 182
     }
183 183
 
184 184
     public function refuse_low_value_work_frequency() //phpcs:ignore
185 185
     {
186
-        return $this->belongsTo(\App\Models\Lookup\Frequency::class);
186
+        return $this->belongsTo (\App\Models\Lookup\Frequency::class);
187 187
     }
188 188
 
189 189
     /**
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
     public function getFullNameAttribute(): string
195 195
     {
196 196
         if ($this->user !== null) {
197
-            return $this->user->first_name . ' ' . $this->user->last_name;
197
+            return $this->user->first_name.' '.$this->user->last_name;
198 198
         }
199 199
         return '';
200 200
     }
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     public function getIsDemoManagerAttribute(): bool
234 234
     {
235 235
         if ($this->user !== null) {
236
-            return $this->user->isDemoManager();
236
+            return $this->user->isDemoManager ();
237 237
         }
238 238
         return true;
239 239
     }
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
      */
247 247
     public function toApiArray()
248 248
     {
249
-        $withTranslations = array_merge($this->toArray(), $this->getTranslations());
249
+        $withTranslations = array_merge ($this->toArray (), $this->getTranslations ());
250 250
         return $withTranslations;
251 251
     }
252 252
 }
Please login to merge, or discard this patch.