Completed
Pull Request — master (#87)
by Brandon
02:20
created
app/Http/Controllers/SensorController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     * Store a newly created resource in storage.
45 45
     *
46 46
     * @param Request $request
47
-    * @return Response
47
+    * @return \Illuminate\Http\RedirectResponse
48 48
     */
49 49
     public function store(Request $request)
50 50
     {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     *
96 96
     * @param  Request  $request
97 97
     * @param  int  $id
98
-    * @return Response
98
+    * @return \Illuminate\Http\RedirectResponse
99 99
     */
100 100
     public function update(Request $request, $id)
101 101
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     * Remove the specified resource from storage.
114 114
     *
115 115
     * @param  int  $id
116
-    * @return Response
116
+    * @return \Illuminate\Http\RedirectResponse
117 117
     */
118 118
     public function destroy($id)
119 119
     {
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         }
155 155
 
156 156
         return redirect()->route('user.index')
157
-            ->with('success','User deleted successfully');
157
+            ->with('success', 'User deleted successfully');
158 158
     }
159 159
     
160 160
     /**
@@ -170,6 +170,6 @@  discard block
 block discarded – undo
170 170
         $user->restore();
171 171
         
172 172
         return redirect()->route('user.show', $user->id)
173
-            ->with('success','User restored successfully');
173
+            ->with('success', 'User restored successfully');
174 174
     }
175 175
 }
Please login to merge, or discard this patch.
app/Http/Controllers/DeviceController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         }
214 214
 
215 215
         return redirect()->route('device.index')
216
-            ->with('success','Device deleted successfully');
216
+            ->with('success', 'Device deleted successfully');
217 217
     }
218 218
     
219 219
     /**
@@ -229,6 +229,6 @@  discard block
 block discarded – undo
229 229
         $device->restore();
230 230
         
231 231
         return redirect()->route('device.show', $device->id)
232
-            ->with('success','Device restored successfully');
232
+            ->with('success', 'Device restored successfully');
233 233
     }
234 234
 }
Please login to merge, or discard this patch.