Completed
Pull Request — master (#82)
by Brandon
02:15
created
app/DataTables/SensorDataDataTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Get columns.
66 66
      *
67
-     * @return array
67
+     * @return string[]
68 68
      */
69 69
     protected function getColumns()
70 70
     {
Please login to merge, or discard this patch.
app/Http/Controllers/ApiController.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Creates a json response for all the devices.
19 19
      *
20
-     * @return Response
20
+     * @return \Illuminate\Http\JsonResponse
21 21
      */    
22 22
     public function index()
23 23
     {
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * Creates a json response for a specifc device.
29 29
      *
30 30
      * @param  Device  $device
31
-     * @return Response
31
+     * @return \Illuminate\Http\JsonResponse
32 32
      */    
33 33
     public function show(Device $device)
34 34
     {
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * Updates the status of a device.
40 40
      *
41 41
      * @param  Request  $request
42
-     * @return Response
42
+     * @return \Illuminate\Http\JsonResponse
43 43
      */
44 44
     public function update(Request $request)
45 45
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      * Updates the sensors of a device.
108 108
      *
109 109
      * @param  Request  $request
110
-     * @return Response
110
+     * @return \Illuminate\Http\JsonResponse
111 111
      */
112 112
     public function sensor(Request $request)
113 113
     {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      * Registers a new device.
171 171
      *
172 172
      * @param  Request  $request
173
-     * @return Response
173
+     * @return \Illuminate\Http\JsonResponse
174 174
      */
175 175
     public function register(Request $request)
176 176
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * Updates the image for a device.
229 229
      *
230 230
      * @param  Request  $request
231
-     * @return Response
231
+     * @return \Illuminate\Http\JsonResponse
232 232
      */
233 233
     public function image(Request $request) {
234 234
         // Validate the request.
Please login to merge, or discard this patch.
app/DataTables/DevicesDataTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Get columns.
66 66
      *
67
-     * @return array
67
+     * @return string[]
68 68
      */
69 69
     protected function getColumns()
70 70
     {
Please login to merge, or discard this patch.