diff --git a/src/Platform/Platform.php b/src/Platform/Platform.php index 3ecc058..385101a 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 && ! str_contains(strtolower($key), $workerName)) { + if ($action->getType() == Action::TYPE_DEFAULT && strtolower($key) !== $workerName) { continue; } switch ($action->getType()) {