1
0
Fork 0
mirror of https://github.com/archtechx/jobpipeline.git synced 2025-12-12 16:54:03 +00:00

fix: remove obsolete change

This commit is contained in:
jaulz 2024-10-31 08:48:04 +00:00
parent 009c814831
commit ee9e6397e3

View file

@ -61,9 +61,7 @@ class JobPipeline implements ShouldQueue
{ {
foreach ($this->jobs as $job) { foreach ($this->jobs as $job) {
if (is_string($job)) { if (is_string($job)) {
if (!str_contains($job, '@')) { $job = [new $job(...$this->passable), 'handle'];
$job = [new $job(...$this->passable), 'handle'];
}
} }
try { try {