diff --git a/framework/core/src/Queue/AbstractJob.php b/framework/core/src/Queue/AbstractJob.php index 2a8ae5c821..207f3f1b66 100644 --- a/framework/core/src/Queue/AbstractJob.php +++ b/framework/core/src/Queue/AbstractJob.php @@ -23,12 +23,12 @@ class AbstractJob implements ShouldQueue /** * @var string|null */ - public static $onQueue = null; + public static $sendOnQueue = null; public function __construct() { - if (static::$onQueue) { - $this->onQueue(static::$onQueue); + if (static::$sendOnQueue) { + $this->onQueue(static::$sendOnQueue); } } }