Completed
Push — master ( ffe767...90fa06 )
by Brandon
02:24
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/Mail/OrderShipped.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Illuminate\Bus\Queueable;
6 6
 use Illuminate\Mail\Mailable;
7 7
 use Illuminate\Queue\SerializesModels;
8
-use Illuminate\Contracts\Queue\ShouldQueue;
9 8
 
10 9
 class OrderShipped extends Mailable
11 10
 {
Please login to merge, or discard this patch.
app/Notifications/InvoicePaid.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * Get the notification's delivery channels.
26 26
      *
27 27
      * @param  mixed  $notifiable
28
-     * @return array
28
+     * @return string[]
29 29
      */
30 30
     public function via($notifiable)
31 31
     {
Please login to merge, or discard this 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/Http/Controllers/UserController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * Store a new user.
50 50
      *
51 51
      * @param  Request  $request
52
-     * @return Response
52
+     * @return \Illuminate\Http\RedirectResponse
53 53
      */
54 54
     public function store(Request $request)
55 55
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @param  Request  $request
115 115
      * @param  string  $id
116
-     * @return Response
116
+     * @return \Illuminate\Http\RedirectResponse
117 117
      */
118 118
     public function update(Request $request, $id)
119 119
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      *
151 151
      * @param  Request  $request
152 152
      * @param  string  $id
153
-     * @return Response
153
+     * @return \Illuminate\Http\RedirectResponse
154 154
      */
155 155
     public function destroy(Request $request, $id)
156 156
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,10 +6,7 @@
 block discarded – undo
6 6
 use Illuminate\Http\Request;
7 7
 use App\Http\Controllers\Controller;
8 8
 use App\DataTables\UsersDataTable;
9
-use Illuminate\Support\Facades\Auth;
10
-use Illuminate\Validation\Rule;
11 9
 use App\User;
12
-use Datatables;
13 10
 
14 11
 class UserController extends Controller
15 12
 {
Please login to merge, or discard this patch.
app/Policies/UserPolicy.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      *
30 30
      * @param  \App\User  $user
31 31
      * @param  \App\User  $user
32
-     * @return mixed
32
+     * @return boolean
33 33
      */
34 34
     public function view(User $user, User $user2)
35 35
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * Determine whether the user can create users.
42 42
      *
43 43
      * @param  \App\User  $user
44
-     * @return mixed
44
+     * @return boolean
45 45
      */
46 46
     public function create(User $user)
47 47
     {
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param  \App\User  $user
56 56
      * @param  \App\User  $user
57
-     * @return mixed
57
+     * @return boolean
58 58
      */
59 59
     public function update(User $user, User $user2)
60 60
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @param  \App\User  $user
70 70
      * @param  \App\User  $user
71
-     * @return mixed
71
+     * @return boolean
72 72
      */
73 73
     public function delete(User $user, User $user2)
74 74
     {
Please login to merge, or discard this patch.
app/Http/Controllers/DeviceController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      *
82 82
      * @param  Request  $request
83 83
      * @param  string  $id
84
-     * @return Response
84
+     * @return \Illuminate\Http\RedirectResponse
85 85
      */
86 86
     public function update(Request $request, $id)
87 87
     {
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      *
146 146
      * @param  Request  $request
147 147
      * @param  string  $id
148
-     * @return Response
148
+     * @return \Illuminate\Http\RedirectResponse
149 149
      */
150 150
     public function destroy(Request $request, $id)
151 151
     {
Please login to merge, or discard this patch.