Skip to content

Commit c2bcf8e

Browse files
Merge pull request #183 from stackkit/bugfix/laravel-12-failover-queue
Updated $config declaration to work with Laravel 12 failover queue
2 parents fd76179 + b21f8d9 commit c2bcf8e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/CloudTasksConnector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* handler?: string,
1919
* service_account_email?: string,
2020
* backoff?: int,
21+
* dispatch_deadline?: int,
2122
* after_commit?: bool
2223
* }
2324
*/

src/CloudTasksQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CloudTasksQueue extends LaravelQueue implements QueueContract
4848
* @param QueueConfig $config
4949
*/
5050
public function __construct(
51-
public array $config,
51+
protected $config,
5252
public CloudTasksClient $client,
5353
// @phpstan-ignore-next-line
5454
public $dispatchAfterCommit = false,

0 commit comments

Comments
 (0)