From ee9e6397e3e1389abf76270d4501ec1ff71a8c31 Mon Sep 17 00:00:00 2001 From: jaulz <5358638+jaulz@users.noreply.github.com> Date: Thu, 31 Oct 2024 08:48:04 +0000 Subject: [PATCH] fix: remove obsolete change --- src/JobPipeline.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/JobPipeline.php b/src/JobPipeline.php index 2f360ef..f77dabf 100644 --- a/src/JobPipeline.php +++ b/src/JobPipeline.php @@ -61,9 +61,7 @@ class JobPipeline implements ShouldQueue { foreach ($this->jobs as $job) { if (is_string($job)) { - if (!str_contains($job, '@')) { - $job = [new $job(...$this->passable), 'handle']; - } + $job = [new $job(...$this->passable), 'handle']; } try {