We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6472e1 commit 827b7c3Copy full SHA for 827b7c3
src/Mutex.php
@@ -60,7 +60,6 @@ private function getRedisLock($client)
60
return new PhpRedisLock($this->getPhpRedisClient());
61
62
case 'predis':
63
- default:
64
return new PredisRedisLock($this->getPredisClient());
65
}
66
tests/ConsoleMutex/MutexTest.php
@@ -66,7 +66,7 @@ public function it_supports_mysql_strategy()
67
68
/** @test */
69
- public function it_supports_redis_strategy_with_predis_client_by_default()
+ public function it_supports_redis_strategy_with_predis_client()
70
{
71
$this->command->shouldReceive('getMutexStrategy')->withNoArgs()->once()->andReturn('redis');
72
0 commit comments