Skip to content

Commit 11e4956

Browse files
committed
phpstan fixes.
1 parent 48bc9b4 commit 11e4956

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: RedisContext.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct($redis)
3333
$this->redisFactory = $redis;
3434
} else {
3535
throw new \InvalidArgumentException(sprintf(
36-
'The $redis argument must be either %s or callable that returns $s once called.',
36+
'The $redis argument must be either %s or callable that returns %s once called.',
3737
Redis::class,
3838
Redis::class
3939
));

Diff for: Tests/Client/RedisDriverTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public function testShouldDoNothingOnSetupBroker()
316316

317317
$meta = new QueueMetaRegistry(Config::create(), [
318318
'default' => [],
319-
], 'default');
319+
]);
320320

321321
$driver = new RedisDriver(
322322
$context,

Diff for: Tests/RedisConsumerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testShouldReturnDestinationSetInConstructorOnGetQueue()
2929
{
3030
$destination = new RedisDestination('aQueue');
3131

32-
$consumer = new RedisConsumer($this->createContextMock(), $destination, 1);
32+
$consumer = new RedisConsumer($this->createContextMock(), $destination);
3333

3434
$this->assertSame($destination, $consumer->getQueue());
3535
}

0 commit comments

Comments
 (0)