From dd1fb1da2d662ad2b9abb0757de7f0dc6fa7089f Mon Sep 17 00:00:00 2001 From: IanM <16573496+imorland@users.noreply.github.com> Date: Sun, 29 Sep 2024 15:35:29 +0100 Subject: [PATCH] [1.x] [extensibility] feat: allow classes that extends `AbstractJob` to be placed on a specified queue (#4026) * feat: allow classes that extends AbstractJob to be placed on a specific queue * Apply fixes from StyleCI * php 7.3 compat * Apply fixes from StyleCI * change to to avoid conflicts with extensions that already do this * chore: add docblock explaining that this solution only works for Redis queues * Apply fixes from StyleCI * chore: update docblock * Apply fixes from StyleCI --------- Co-authored-by: StyleCI Bot --- src/SendPusherNotificationsJob.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SendPusherNotificationsJob.php b/src/SendPusherNotificationsJob.php index def83ca..00187c1 100644 --- a/src/SendPusherNotificationsJob.php +++ b/src/SendPusherNotificationsJob.php @@ -28,6 +28,8 @@ class SendPusherNotificationsJob extends AbstractJob public function __construct(BlueprintInterface $blueprint, array $recipients) { + parent::__construct(); + $this->blueprint = $blueprint; $this->recipients = $recipients; }