diff --git a/ContaboAPI.php b/ContaboAPI.php index 3194e37..77bb0b2 100644 --- a/ContaboAPI.php +++ b/ContaboAPI.php @@ -4,6 +4,7 @@ namespace App\Services\Contabo; use Illuminate\Support\Facades\Http; use Illuminate\Support\Str; +use Illuminate\Support\Collection; class ContaboAPI { @@ -65,11 +66,11 @@ class ContaboAPI /** * Get the available images as a Laravel collection */ - public function getImages() + public function getImages(): Collection { return $this->api('get', '/compute/images', [ 'size' => 100, - ])->collect(); + ]); } /** diff --git a/composer.json b/composer.json index a6f267d..5c145ac 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,8 @@ "description": "A contabo service for developers", "authors": [ { - "name": "WemX", - "email": "mubeen@wemx.net" + "name": "ShadowVirtual", + "email": "shadowvr@gmail.com" } ], "extra": {