From 02516f6b82aad80dbe6bdfecaf461bc900c4718c Mon Sep 17 00:00:00 2001 From: ShadowVirtual Date: Mon, 1 Apr 2024 18:52:34 -0800 Subject: [PATCH] Changed composer.json and edited the ContaboAPI.php --- ContaboAPI.php | 5 +++-- composer.json | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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": {