Completed
Push — develop ( 1eb861...f7494f )
by Neil
10s
created
app/Http/Requests/UpdateUserRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         if ($this->input('update') == 'password') {
57 57
             $user_id = $this->input('user_id');
58 58
             $rules = ['password'              => 'required|min:5|max:255',
59
-                      'password_confirmation' => 'required|same:password',
59
+                        'password_confirmation' => 'required|same:password',
60 60
             ];
61 61
             if (!Auth::user()->isAdmin() || Auth::id() == $user_id) {
62 62
                 $rules['current_password'] = 'required|password:'.$user_id;
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * Update a notifications status.
46 46
      *
47
-     * @return \Illuminate\Http\Response
47
+     * @return \Illuminate\Http\JsonResponse
48 48
      */
49 49
     public function update($id, $action)
50 50
     {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Create a new notification
57 57
      *
58
-     * @return \Illuminate\Http\Response
58
+     * @return \Illuminate\Http\JsonResponse
59 59
      */
60 60
     public function create(Request $request)
61 61
     {
Please login to merge, or discard this patch.
app/Http/Controllers/UserPortController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param AdminOnlyRequest $request
47 47
      * @param $user_id
48 48
      * @param $port_id
49
-     * @return mixed
49
+     * @return \Illuminate\Http\RedirectResponse
50 50
      */
51 51
     public function store(AdminOnlyRequest $request, $user_id)
52 52
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * @param AdminOnlyRequest $request
70 70
      * @param $user_id
71 71
      * @param $port_id
72
-     * @return mixed
72
+     * @return \Illuminate\Http\RedirectResponse
73 73
      */
74 74
     public function destroy(AdminOnlyRequest $request, $user_id, $port_id)
75 75
     {
Please login to merge, or discard this patch.
app/Http/Controllers/UserDeviceController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param AdminOnlyRequest $request
47 47
      * @param $user_id
48 48
      * @param $port_id
49
-     * @return mixed
49
+     * @return \Illuminate\Http\RedirectResponse
50 50
      */
51 51
     public function store(AdminOnlyRequest $request, $user_id)
52 52
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * @param AdminOnlyRequest $request
70 70
      * @param $user_id
71 71
      * @param $port_id
72
-     * @return mixed
72
+     * @return \Illuminate\Http\RedirectResponse
73 73
      */
74 74
     public function destroy(AdminOnlyRequest $request, $user_id, $port_id)
75 75
     {
Please login to merge, or discard this patch.