From 7fbc1a364d44648886c658eb05fa2951460d6782 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Mon, 17 Jun 2024 16:23:45 +0100 Subject: [PATCH] Corrected the namespace path for jobs --- src/Jobs/JobInspector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jobs/JobInspector.php b/src/Jobs/JobInspector.php index c5fb7f0..8ac61cc 100644 --- a/src/Jobs/JobInspector.php +++ b/src/Jobs/JobInspector.php @@ -96,7 +96,7 @@ class JobInspector $basePath = str_replace($file->getBasename(), '', $file->getBasePath()); $name = $basePath . $file->getFilename(); $className = str_replace('/', '\\', $basePath) . $file->getFilename(); - $classPath = "\\$sprinkleNS\\Worker\\Jobs\\$className"; + $classPath = "\\$sprinkleNS\\Jobs\\$className"; // Exclude known helper classes if ($className == "JobInterface" || $className == "JobBase" || $className == "JobInspector") {