From 08fab49bb308f6b3db8c0ec806e1926197abb0da Mon Sep 17 00:00:00 2001 From: Stephen Cuppett Date: Fri, 22 Mar 2024 19:44:21 -0400 Subject: [PATCH] Nit: Adding additional throws for JsonException which could pop here --- src/Traits/Cluster/ChecksClusterVersion.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Traits/Cluster/ChecksClusterVersion.php b/src/Traits/Cluster/ChecksClusterVersion.php index ba06cfa..2b80ec8 100644 --- a/src/Traits/Cluster/ChecksClusterVersion.php +++ b/src/Traits/Cluster/ChecksClusterVersion.php @@ -57,7 +57,7 @@ protected function loadClusterVersion(): void * @param string $kubernetesVersion * @return bool * - * @throws KubernetesAPIException|GuzzleException + * @throws KubernetesAPIException|GuzzleException|JsonException */ public function newerThan(string $kubernetesVersion): bool { @@ -75,7 +75,7 @@ public function newerThan(string $kubernetesVersion): bool * @param string $kubernetesVersion * @return bool * - * @throws KubernetesAPIException|GuzzleException + * @throws KubernetesAPIException|GuzzleException|JsonException */ public function olderThan(string $kubernetesVersion): bool {