Skip to content

Commit

Permalink
Nit: Adding additional throws for JsonException which could pop here
Browse files Browse the repository at this point in the history
  • Loading branch information
cuppett committed Mar 22, 2024
1 parent d871236 commit 08fab49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/Cluster/ChecksClusterVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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
{
Expand Down

0 comments on commit 08fab49

Please sign in to comment.