Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 4, 2023
1 parent 1dfc82d commit c093ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/Integration/MessageConsumingTest.php
Expand Up @@ -19,13 +19,14 @@
final class MessageConsumingTest extends TestCase
{
private array $messagesProcessed;

public function testMessagesConsumed(): void
{
$this->messagesProcessed = [];

$container = $this->createMock(ContainerInterface::class);
$worker = new Worker(
['test' => fn(MessageInterface $message): mixed => $this->messagesProcessed[] = $message->getData()],
['test' => fn (MessageInterface $message): mixed => $this->messagesProcessed[] = $message->getData()],
new NullLogger(),
new Injector($container),
$container,
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase.php
Expand Up @@ -23,7 +23,6 @@
use Yiisoft\Yii\Queue\Middleware\Push\MiddlewareFactoryPush;
use Yiisoft\Yii\Queue\Middleware\Push\PushMiddlewareDispatcher;
use Yiisoft\Yii\Queue\Queue;
use Yiisoft\Yii\Queue\QueueInterface;
use Yiisoft\Yii\Queue\Worker\Worker;
use Yiisoft\Yii\Queue\Worker\WorkerInterface;

Expand Down

0 comments on commit c093ca9

Please sign in to comment.