Completed
Push — master ( 1f44f2...916496 )
by Ron
03:03
created
app/Http/Resources/WorldResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         ];
18 18
 
19 19
         if (!empty($this->updated_at)) {
20
-            $data['update_at'] = $this->updated_at->format('Y-m-d H:i:s');
20
+            $data[ 'update_at' ] = $this->updated_at->format('Y-m-d H:i:s');
21 21
         }
22 22
 
23 23
         return $data;
Please login to merge, or discard this patch.
app/Http/Controllers/Worlds/WorldController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     function getGalaxy($galaxy_id)
13 13
     {
14 14
         return WorldResource::collection(
15
-            Cache::remember('galaxy_worlds_' . $galaxy_id, 60, function () use ($galaxy_id) {
15
+            Cache::remember('galaxy_worlds_'.$galaxy_id, 60, function() use ($galaxy_id) {
16 16
                 return World::where('galaxy_id', $galaxy_id)->get();
17 17
             })
18 18
         );
Please login to merge, or discard this patch.