Completed
Pull Request — develop (#3)
by Neil
15:41 queued 07:14
created
app/Api/Controllers/APIController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Api\Controllers;
4 4
 
5 5
 use DB;
6
-use App\Http\Requests;
7 6
 use Illuminate\Http\Request;
8 7
 
9 8
 class ApiController extends Controller
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
                 ->get();
20 20
         }
21 21
         else {
22
-             $tmp_devices = DB::table('devices')
22
+                $tmp_devices = DB::table('devices')
23 23
                 ->select(DB::raw('DISTINCT(`devices`.`device_id`),`devices`.*'))
24 24
                 ->leftJoin('devices_perms AS DP', 'devices.device_id', '=', 'DP.device_id')
25 25
                 ->where('DP.user_id', '=', $request->user()->user_id)
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,8 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Dingo\Api\Http;
6
-use Dingo\Api\Routing\Router;
7 6
 use Dingo\Api\Routing\Helpers;
8
-use App\Http\Requests;
9 7
 use Illuminate\Http\Request;
10
-use JWTAuth;
11 8
 
12 9
 class HomeController extends Controller
13 10
 {
Please login to merge, or discard this patch.