diff --git a/src/JobPipeline.php b/src/JobPipeline.php index f77dabf..414d7f8 100644 --- a/src/JobPipeline.php +++ b/src/JobPipeline.php @@ -27,7 +27,7 @@ class JobPipeline implements ShouldQueue /** @var bool */ public $shouldBeQueued; - public function __construct($jobs, callable $send = null, bool $shouldBeQueued = null) + public function __construct($jobs, ?callable $send = null, ?bool $shouldBeQueued = null) { $this->jobs = $jobs; $this->send = $send ?? function ($event) {