@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public function index(DedicatedServer $dedicatedServer): JsonResponse |
| 29 | 29 | { |
| 30 | 30 | return response()->json( |
| 31 | - QueryBuilder::for(Server::where('ds_id', '=', $dedicatedServer->id)) |
|
| 31 | + QueryBuilder::for (Server::where('ds_id', '=', $dedicatedServer->id)) |
|
| 32 | 32 | ->allowedFilters('id') |
| 33 | 33 | ->with('game') |
| 34 | 34 | ->with('gameMod') |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function values(): array |
| 20 | 20 | { |
| 21 | - return array_map(function ($v) { |
|
| 21 | + return array_map(function($v) { |
|
| 22 | 22 | return Arr::only($v, ['id', 'installed', 'process_active', 'last_process_check']); |
| 23 | 23 | }, $this->all()); |
| 24 | 24 | } |