Skip to content

Commit 08fab49

Browse files
committed
Nit: Adding additional throws for JsonException which could pop here
1 parent d871236 commit 08fab49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Traits/Cluster/ChecksClusterVersion.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function loadClusterVersion(): void
5757
* @param string $kubernetesVersion
5858
* @return bool
5959
*
60-
* @throws KubernetesAPIException|GuzzleException
60+
* @throws KubernetesAPIException|GuzzleException|JsonException
6161
*/
6262
public function newerThan(string $kubernetesVersion): bool
6363
{
@@ -75,7 +75,7 @@ public function newerThan(string $kubernetesVersion): bool
7575
* @param string $kubernetesVersion
7676
* @return bool
7777
*
78-
* @throws KubernetesAPIException|GuzzleException
78+
* @throws KubernetesAPIException|GuzzleException|JsonException
7979
*/
8080
public function olderThan(string $kubernetesVersion): bool
8181
{

0 commit comments

Comments
 (0)