diff --git a/app/Support/ServerConnection/ServerConnectionManager.php b/app/Support/ServerConnection/ServerConnectionManager.php index 1398691a..6f457b5e 100644 --- a/app/Support/ServerConnection/ServerConnectionManager.php +++ b/app/Support/ServerConnection/ServerConnectionManager.php @@ -127,14 +127,13 @@ public static function getDefaultPrivateKeyPath(): string $path = rtrim(static::$defaultPrivateKey, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . self::SSH_KEY_FILE_NAME; - if (!file_exists($path)) { + if (! file_exists($path)) { throw new RuntimeException("Private key file does not exist: {$path}"); } return $path; } - /** * Get the path to the default public key file. * @@ -244,7 +243,6 @@ public static function getPrivateKeyContent(string $path): string return $content; } - /** * Get the content of a public key file. *