Skip to content

Commit 26e5bbf

Browse files
author
Kunal Hari
committed
[BUGFIX] Parse build task class correctly
1 parent cff6875 commit 26e5bbf

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
@@ -72,7 +72,7 @@ public function getTitle()
7272

7373
public function process()
7474
{
75-
if (!is_subclass_of($this->TaskClass, BuildTask::class)) {
75+
if (!is_a(trim($this->TaskClass), BuildTask::class, true)) {
7676
throw new \LogicException($this->TaskClass . ' is not a build task');
7777
}
7878

0 commit comments

Comments
 (0)