Test Setup Failed
Push — vue-test ( ca5b50...c87041 )
by Tony
04:05
created
app/Api/Controllers/SettingsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      *
103 103
      * @param  \Illuminate\Http\Request $request
104 104
      * @param  int $id
105
-     * @return \Illuminate\Http\Response
105
+     * @return null|\Dingo\Api\Http\Response
106 106
      */
107 107
     public function update(Request $request, $id)
108 108
     {
Please login to merge, or discard this patch.
app/Api/Transformers/DeviceTransformer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
     public function transform(Device $device)
17 17
     {
18 18
         return [
19
-            'device_id' => (int)$device->device_id,
19
+            'device_id' => (int) $device->device_id,
20 20
             'hostname'  => $device->hostname,
21 21
             'os'        => $device->os,
22 22
             'icon'      => $device->icon,
23
-            'status'    => (int)$device->status,
24
-            'uptime'    => (int)$device->uptime,
23
+            'status'    => (int) $device->status,
24
+            'uptime'    => (int) $device->uptime,
25 25
         ];
26 26
     }
27 27
 }
Please login to merge, or discard this patch.