From db50657918e7617fd4d6180bcbec366d905553a3 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 13 Mar 2024 16:09:48 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/KubernetesCluster.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/KubernetesCluster.php b/src/KubernetesCluster.php index 691160f0..1c6a7f4e 100644 --- a/src/KubernetesCluster.php +++ b/src/KubernetesCluster.php @@ -202,10 +202,14 @@ public function setResourceClass(string $resourceClass) public function runOperation(string $operation, string $path, $payload = '', array $query = ['pretty' => 1]) { switch ($operation) { - case static::WATCH_OP: return $this->watchPath($path, $payload, $query); break; - case static::WATCH_LOGS_OP: return $this->watchLogsPath($path, $payload, $query); break; - case static::EXEC_OP: return $this->execPath($path, $query); break; - case static::ATTACH_OP: return $this->attachPath($path, $payload, $query); break; + case static::WATCH_OP: return $this->watchPath($path, $payload, $query); + break; + case static::WATCH_LOGS_OP: return $this->watchLogsPath($path, $payload, $query); + break; + case static::EXEC_OP: return $this->execPath($path, $query); + break; + case static::ATTACH_OP: return $this->attachPath($path, $payload, $query); + break; default: break; }