Corrected the namespace path for jobs

This commit is contained in:
bwilliams committed 2024-06-17 16:23:45 +01:00
1 parent 378b0f5e4b
commit 7fbc1a364d
1 file changed
+1 -1
+1 -1
View File
@@ -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") {