Passed
Push — feature/job-summary-hr ( 67ecfb )
by Grant
13:42
created
app/Providers/ViewComposerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         );
64 64
 
65 65
         View::composer(
66
-            ['common/relatives','common/reference','common/relatives-projects',
66
+            ['common/relatives', 'common/reference', 'common/relatives-projects',
67 67
                 'common/sample', 'common/skill', 'common/modals/create_reference'],
68 68
             'App\Http\ViewComposers\RelativeComposer'
69 69
         );
Please login to merge, or discard this patch.
app/Models/User.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -263,10 +263,10 @@  discard block
 block discarded – undo
263 263
     }
264 264
 
265 265
     /**
266
-    * Check if the user has the specified role.
267
-    * @param string $role This may be either 'applicant', 'manager', 'hr_advisor' or 'admin'.
268
-    * @return boolean
269
-    */
266
+     * Check if the user has the specified role.
267
+     * @param string $role This may be either 'applicant', 'manager', 'hr_advisor' or 'admin'.
268
+     * @return boolean
269
+     */
270 270
     public function hasRole($role)
271 271
     {
272 272
         switch ($role) {
@@ -287,8 +287,8 @@  discard block
 block discarded – undo
287 287
      * Set this user to the specified role.
288 288
      *
289 289
      * @param string $role Must be either 'applicant', 'manager', 'hr_advisor' or 'admin'.
290
-    * @return void
291
-    */
290
+     * @return void
291
+     */
292 292
     public function setRole(string $role): void
293 293
     {
294 294
         $this->user_role()->associate(UserRole::where('name', $role)->firstOrFail());
Please login to merge, or discard this patch.