diff --git a/src/Jobs/JobInspector.php b/src/Jobs/JobInspector.php index 51c1fe9..c5fb7f0 100644 --- a/src/Jobs/JobInspector.php +++ b/src/Jobs/JobInspector.php @@ -103,6 +103,11 @@ class JobInspector return null; } + $reflect = new \ReflectionClass($classPath); + if ($reflect->isAbstract()) { + return null; + } + // Build the class name and namespace return [ 'sprinkle' => $sprinkleName,