Skip to content

Commit 475d29c

Browse files
Fix PSR-2
1 parent c9c18cc commit 475d29c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/mutex/PredisMutexTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected function setUp()
4242
private function getPredisConfig()
4343
{
4444
if (getenv("REDIS_URIS") === false) {
45-
return "redis://localhost:6379";
45+
return "tcp://localhost:6379";
4646
}
4747

4848
$servers = explode(",", getenv("REDIS_URIS"));
@@ -77,7 +77,7 @@ public function testWorksNormally()
7777
{
7878
$mutex = new PredisMutex([$this->client], "test");
7979

80-
$mutex->synchronized(function(): void {
80+
$mutex->synchronized(function (): void {
8181
$this->expectNotToPerformAssertions();
8282
});
8383
}

0 commit comments

Comments
 (0)