Add phpstan level 7(#544)

This commit is contained in:
Saeed Vaziry
2025-03-12 13:31:10 +01:00
committed by GitHub
parent c22bb1fa80
commit 493cbb0849
437 changed files with 4505 additions and 2193 deletions

View File

@ -42,7 +42,7 @@ public function data(array $input): array
return [];
}
public function connect(?array $credentials = null): bool
public function connect(array $credentials): bool
{
return true;
}
@ -63,7 +63,7 @@ public function create(): void
$storageDisk = Storage::disk(config('core.key_pairs_disk'));
File::copy(
storage_path(config('core.ssh_private_key_name')),
$storageDisk->path($this->server->id)
$storageDisk->path((string) $this->server->id)
);
File::copy(
storage_path(config('core.ssh_public_key_name')),