Skip to content

Commit 293e044

Browse files
author
Kunal Hari
committed
[BUGFIX] Parse build task class correctly
1 parent ffcee05 commit 293e044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/RunBuildTaskJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getTitle()
6565

6666
public function process()
6767
{
68-
if (!is_subclass_of($this->TaskClass, BuildTask::class)) {
68+
if (!is_a(trim($this->TaskClass), BuildTask::class, true)) {
6969
throw new \LogicException($this->TaskClass . ' is not a build task');
7070
}
7171

0 commit comments

Comments
 (0)