Completed
Pull Request — master (#34)
by Brandon
12:58 queued 10:54
created
app/Http/Controllers/DashboardController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7 5
 class DashboardController extends Controller
8 6
 {
9 7
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7 5
 class HomeController extends Controller
8 6
 {
9 7
     /**
Please login to merge, or discard this patch.
app/Notifications/InvoicePaid.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6 6
 use Illuminate\Notifications\Notification;
7
-use Illuminate\Contracts\Queue\ShouldQueue;
8 7
 use Illuminate\Notifications\Messages\NexmoMessage;
9 8
 
10 9
 class InvoicePaid extends Notification
Please login to merge, or discard this patch.
app/Device.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6 6
 use Illuminate\Database\Eloquent\SoftDeletes;
7
-use Illuminate\Support\Facades\DB;
8 7
 
9 8
 class Device extends Model
10 9
 {
Please login to merge, or discard this patch.
app/Http/Controllers/ImageController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Intervention\Image\Facades\Image as Image;
7
-use Illuminate\Support\Facades\Cache;
8 6
 use Illuminate\Support\Facades\Storage;
9 7
 
10 8
 class ImageController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/ApiController.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Creates a json response for all the devices.
16 16
      *
17
-     * @return Response
17
+     * @return \Illuminate\Http\JsonResponse
18 18
      */    
19 19
     public function index()
20 20
     {
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * Creates a json response for a specifc device.
26 26
      *
27 27
      * @param  Device  $device
28
-     * @return Response
28
+     * @return \Illuminate\Http\JsonResponse
29 29
      */    
30 30
     public function show(Device $device)
31 31
     {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * Updates the status of a device.
37 37
      *
38 38
      * @param  Request  $request
39
-     * @return Response
39
+     * @return \Illuminate\Http\JsonResponse
40 40
      */
41 41
     public function update(Request $request)
42 42
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      * Registers a new device.
108 108
      *
109 109
      * @param  Request  $request
110
-     * @return Response
110
+     * @return \Illuminate\Http\JsonResponse
111 111
      */
112 112
     public function register(Request $request)
113 113
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      * Updates the image for a device.
165 165
      *
166 166
      * @param  Request  $request
167
-     * @return Response
167
+     * @return \Illuminate\Http\JsonResponse
168 168
      */
169 169
     public function image(Request $request) {
170 170
         // Validate the request.
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use App\Device;
8 8
 use App\Deviceimage;
9 9
 use App\User;
10
-use Illuminate\Support\Facades\Cache;
11
-use Illuminate\Support\Facades\Storage;
12 10
 
13 11
 class ApiController extends Controller
14 12
 {
Please login to merge, or discard this patch.
app/Notifications/DeviceRegister.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6 6
 use Illuminate\Notifications\Notification;
7
-use Illuminate\Contracts\Queue\ShouldQueue;
8 7
 use Illuminate\Notifications\Messages\NexmoMessage;
9 8
 
10 9
 class DeviceRegister extends Notification
Please login to merge, or discard this patch.