Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorprogger committed Dec 8, 2024
1 parent 864f58d commit 3fe4f6a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stubs/StubAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Yiisoft\Queue\Adapter\AdapterInterface;
use Yiisoft\Queue\Enum\JobStatus;
use Yiisoft\Queue\Message\MessageInterface;
use Yiisoft\Queue\QueueInterface;

/**
* Stub adapter that does nothing. Job status is always "done".
Expand Down Expand Up @@ -35,4 +36,9 @@ public function withChannel(string $channel): AdapterInterface
{
return clone $this;
}

public function getChannelName(): string
{
return QueueInterface::DEFAULT_CHANNEL_NAME;
}
}

0 comments on commit 3fe4f6a

Please sign in to comment.