Skip to content

Commit 508daac

Browse files
committed
Have the new queue component extend the old queue class
1 parent 319ead7 commit 508daac

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

yii2-adapter/legacy/queue/QueueComponent.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Illuminate\Contracts\Queue\Queue as LaravelQueue;
1919
use Illuminate\Queue\Failed\FailedJobProviderInterface;
2020
use Illuminate\Support\Facades\Artisan;
21-
use yii\base\Component;
2221

2322
use function CraftCms\Cms\t;
2423

@@ -30,7 +29,7 @@
3029
*
3130
* @deprecated 6.0.0
3231
*/
33-
class QueueComponent extends Component implements QueueInterface
32+
class QueueComponent extends Queue
3433
{
3534
/**
3635
* @var int Default time-to-reserve for jobs (in seconds).

0 commit comments

Comments
 (0)