Completed
Push — ports_ajax ( cdec2c )
by Tony
06:36
created
app/Api/Controllers/PortController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\User;
7 7
 use App\Port;
8 8
 use App\Api\Transformers\PortTransformer;
9
-
10 9
 use Illuminate\Http\Request;
11 10
 use Dingo\Api\Routing\Helpers;
12 11
 use Illuminate\Support\Facades\Input;
Please login to merge, or discard this patch.
app/Http/Controllers/PortController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use App\User;
6 5
 use Dingo\Api\Http;
7 6
 use Dingo\Api\Routing\Helpers;
8 7
 use Illuminate\Http\Request;
9 8
 use JWTAuth;
10
-use Tymon\JWTAuth\Exceptions\JWTException;
11 9
 
12 10
 
13 11
 class PortController extends Controller
Please login to merge, or discard this patch.
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.