@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | public function getGalaxies() |
| 15 | 15 | { |
| 16 | 16 | return GalaxyResource::collection( |
| 17 | - Cache::remember('galaxies', 60, function () { |
|
| 17 | + Cache::remember('galaxies', 60, function() { |
|
| 18 | 18 | return Galaxy::with('type')->get(); |
| 19 | 19 | }) |
| 20 | 20 | ); |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | public function getTypes() |
| 24 | 24 | { |
| 25 | 25 | return GalaxyTypeResource::collection( |
| 26 | - Cache::remember('galaxy_types', 60, function () { |
|
| 26 | + Cache::remember('galaxy_types', 60, function() { |
|
| 27 | 27 | return GalaxyType::all(); |
| 28 | 28 | }) |
| 29 | 29 | ); |