From 8bc2b2b9b9742769cc4bf5a6e273698ce012dd79 Mon Sep 17 00:00:00 2001 From: Leo Lutz Date: Tue, 7 Apr 2026 23:14:50 -0600 Subject: [PATCH 1/2] Update QueueWorker.php interface to match actual features Fixes #106 --- src/Contracts/QueueWorker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contracts/QueueWorker.php b/src/Contracts/QueueWorker.php index e3f4c398..3bdcb899 100644 --- a/src/Contracts/QueueWorker.php +++ b/src/Contracts/QueueWorker.php @@ -6,7 +6,7 @@ interface QueueWorker { - public function up(QueueConfig $config): void; + public function up(string|QueueConfig $config): void; public function down(string $alias): void; } From 95187d44395231326b5cc4d063d00438f47035ec Mon Sep 17 00:00:00 2001 From: Leo Lutz Date: Thu, 28 May 2026 15:07:25 -0600 Subject: [PATCH 2/2] Update QueueWorkerFake to match QueueWorker contract --- src/Fakes/QueueWorkerFake.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fakes/QueueWorkerFake.php b/src/Fakes/QueueWorkerFake.php index f56f3961..6f93c5e0 100644 --- a/src/Fakes/QueueWorkerFake.php +++ b/src/Fakes/QueueWorkerFake.php @@ -19,7 +19,7 @@ class QueueWorkerFake implements QueueWorkerContract */ public array $downs = []; - public function up(QueueConfig $config): void + public function up(string|QueueConfig $config): void { $this->ups[] = $config; }