Apply CS fixes.

This commit is contained in:
Daniele Alessandri
2016-06-10 11:12:26 +02:00
parent eb1e686ff9
commit fa643ac20c
5 changed files with 5 additions and 7 deletions
-1
View File
@@ -57,7 +57,6 @@ abstract class Factory implements FactoryInterface
* @param string $commandID Command ID.
*
* @return string|null
*
*/
public function getCommandClass($commandID)
{
+2 -2
View File
@@ -383,7 +383,7 @@ class ClientTest extends PredisTestCase
*/
public function testConstructorWithInvalidArgumentType()
{
$client = new Client(new \stdClass);
$client = new Client(new \stdClass());
}
/**
@@ -393,7 +393,7 @@ class ClientTest extends PredisTestCase
*/
public function testConstructorWithInvalidOptionType()
{
$client = new Client('tcp://host1', new \stdClass);
$client = new Client('tcp://host1', new \stdClass());
}
/**
@@ -55,7 +55,7 @@ class HashKeyTest extends PredisTestCase
->method('hscan')
->with('key:hash', 0, array())
->will($this->returnValue(
array(0, array()
array(0, array(),
)));
$iterator = new HashKey($client, 'key:hash');
+2 -2
View File
@@ -51,7 +51,7 @@ class SLOWLOG_Test extends PredisCommandTestCase
}
/**
* This is the response type for SLOWLOG GET
* This is the response type for SLOWLOG GET.
*
* @group disconnected
*/
@@ -73,7 +73,7 @@ class SLOWLOG_Test extends PredisCommandTestCase
}
/**
* This is the response type for SLOWLOG LEN
* This is the response type for SLOWLOG LEN.
*
* @group disconnected
*/
@@ -106,7 +106,6 @@ class ResponseReaderTest extends PredisTestCase
*/
public function testUnknownResponsePrefix()
{
$connection = $this->getMockConnectionOfType('Predis\Connection\CompositeConnectionInterface', 'tcp://127.0.0.1:6379');
$connection
->expects($this->once())