Completed
Pull Request — master (#96)
by
unknown
02:07
created
app/Http/Controllers/DashboardController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Support\Facades\Auth;
6 6
 use Illuminate\Http\Request;
7
-use Validator;
8 7
 use App\Device;
9 8
 use App\Site;
10 9
 use App\Location;
11
-use Illuminate\Support\HtmlString;
12 10
 
13 11
 class DashboardController extends Controller
14 12
 {
Please login to merge, or discard this patch.
app/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     public function roleString()
144 144
     {
145 145
         $role_en = array(0 => "Registered", 1 => "User", 2 => "Manager", 3 => "Admin");
146
-        return $role_en[ $this->role ] . ' (' . $this->role . ')';
146
+        return $role_en[ $this->role ].' ('.$this->role.')';
147 147
     }
148 148
     
149 149
     /**
Please login to merge, or discard this patch.