Changed composer.json and edited the ContaboAPI.php
This commit is contained in:
parent
da359a606a
commit
02516f6b82
2 changed files with 5 additions and 4 deletions
|
@ -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();
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
"description": "A contabo service for developers",
|
||||
"authors": [
|
||||
{
|
||||
"name": "WemX",
|
||||
"email": "mubeen@wemx.net"
|
||||
"name": "ShadowVirtual",
|
||||
"email": "shadowvr@gmail.com"
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
|
|
Loading…
Reference in a new issue