Skip to content

Commit d06930d

Browse files
committed
CS Fixed
1 parent da7048f commit d06930d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/Illuminate/Redis/Connections/PhpRedisConnection.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function zadd($key, ...$dictionary)
111111
}
112112

113113
/**
114-
* Execute commands in a pipeline
114+
* Execute commands in a pipeline.
115115
*
116116
* @param callable $callback
117117
* @return array|\Redis
@@ -126,7 +126,7 @@ public function pipeline(callable $callback = null)
126126
}
127127

128128
/**
129-
* Execute commands in a transaction
129+
* Execute commands in a transaction.
130130
*
131131
* @param callable $callback
132132
* @return array|\Redis
@@ -141,14 +141,14 @@ public function transaction(callable $callback = null)
141141
}
142142

143143
/**
144-
* Execute a raw command
144+
* Execute a raw command.
145145
*
146146
* @param array $parameters
147147
* @return mixed
148148
*/
149149
public function executeRaw(array $parameters)
150150
{
151-
return $this->command("rawCommand", $parameters);
151+
return $this->command('rawCommand', $parameters);
152152
}
153153

154154
/**

tests/Redis/Connections/PhpRedisConnectionTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Illuminate\Tests\Redis\Connections;
44

5-
use Illuminate\Tests\Redis\InteractsWithRedis;
65
use PHPUnit\Framework\TestCase;
6+
use Illuminate\Tests\Redis\InteractsWithRedis;
77

88
class PhpRedisConnectionTest extends TestCase
99
{
@@ -14,7 +14,7 @@ public function setUp()
1414
parent::setUp();
1515
$this->setUpRedis();
1616

17-
if(! isset($this->redis['phpredis'])) {
17+
if (! isset($this->redis['phpredis'])) {
1818
$this->markTestSkipped('PhpRedis should be enabled to run the tests');
1919
}
2020
}
@@ -33,7 +33,7 @@ public function testPhpRedisPipeline()
3333
$pipe->set('test:pipeline:2', 2);
3434
$pipe->get('test:pipeline:2');
3535
});
36-
36+
3737
$this->assertCount(4, $result);
3838
$this->assertEquals(1, $result[1]);
3939
$this->assertEquals(2, $result[3]);
@@ -61,4 +61,4 @@ public function testPhpRedisExecuteRaw()
6161
1, $this->redis['phpredis']->connection()->executeRaw(['GET', 'test:raw:1'])
6262
);
6363
}
64-
}
64+
}

0 commit comments

Comments
 (0)