Completed
Branch master (528c55)
by Shawn
06:41
created
app/Handlers/Duty/DutyGroups.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
     {
116 116
         $row = '';
117 117
         foreach ($entry['group'] as $user) {
118
-            if(Gate::allows('view')) {
118
+            if (Gate::allows('view')) {
119 119
                 $row .= "<a href='" . url('user', $user->id) . "'>" . $user->userFullName . "</a> & ";
120 120
             } else {
121 121
                 $row .= $user->userFullName . " & ";
Please login to merge, or discard this patch.
app/Handlers/Duty/DutyUsers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
         $newCollection = new Collection();
26 26
 
27 27
         foreach ($this->list as $entry) {
28
-            if(Gate::allows('view')) {
29
-                $rowvalue = "<a href='" . url( 'user', $entry['user']->id ) . "'>". $entry['user']->userFullName ."</a>";
28
+            if (Gate::allows('view')) {
29
+                $rowvalue = "<a href='" . url('user', $entry['user']->id) . "'>" . $entry['user']->userFullName . "</a>";
30 30
             } else {
31 31
                 $rowvalue = $entry['user']->userFullName;
32 32
             }
Please login to merge, or discard this patch.