From ff6da50e974389c28f25661b4560c6040cff43c4 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Wed, 15 Jan 2025 11:37:48 +0545 Subject: [PATCH] Fix: double negative and case change --- src/Platform/Platform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform/Platform.php b/src/Platform/Platform.php index cdc3c15..7d18e2d 100644 --- a/src/Platform/Platform.php +++ b/src/Platform/Platform.php @@ -190,7 +190,7 @@ protected function initWorker(array $services, string $workerName): void $worker = $this->worker; foreach ($services as $service) { foreach ($service->getActions() as $key => $action) { - if ($action->getType() == Action::TYPE_DEFAULT && ! strtolower($key) !== $workerName) { + if ($action->getType() == Action::TYPE_DEFAULT && $key !== $workerName) { continue; } switch ($action->getType()) {