update composer (#84)

* update composer
log viewer
code style format

* fix composer
This commit is contained in:
Saeed Vaziry
2024-01-01 22:05:31 +01:00
committed by GitHub
parent 551f1ce40e
commit fd2244d382
32 changed files with 1527 additions and 966 deletions

View File

@ -59,7 +59,7 @@ public function data(array $input): array
/**
* @throws CouldNotConnectToProvider
*/
public function connect(array $credentials = null): bool
public function connect(?array $credentials = null): bool
{
$connect = Http::withToken($credentials['token'])->get($this->apiUrl.'/account');
if (! $connect->ok()) {