Completed
Push — ports_ajax ( cdec2c )
by Tony
06:36
created
app/User.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Test if the User is an admin or demo.
33 33
      *
34
-     * @return \Illuminate\Database\Eloquent\Builder
34
+     * @return boolean
35 35
      */
36 36
     public function isAdmin()
37 37
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      * Test if this user has global read access
43 43
      * these users have a level of 5, 10 or 11 (demo).
44 44
      *
45
-     * @return \Illuminate\Database\Eloquent\Builder
45
+     * @return boolean
46 46
      */
47 47
     public function hasGlobalRead()
48 48
     {
Please login to merge, or discard this patch.
app/Http/Controllers/PortController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 //        return view('ports.list', ['ports'=>$ports]);
34 34
 
35 35
         // FIXME: is this correct?
36
-	$token = JWTAuth::fromUser(auth()->user());
36
+    $token = JWTAuth::fromUser(auth()->user());
37 37
         $ports = []; // empty table
38 38
 
39 39
         return view('ports.list', ['ports'=>$port, 'token'=>$token]);
Please login to merge, or discard this patch.