Apply minor CS fixes.

[ci skip]
This commit is contained in:
Daniele Alessandri
2013-12-21 18:24:51 +01:00
parent b73606de68
commit bff7906f68
+4 -6
View File
@@ -141,8 +141,8 @@ class Client implements ClientInterface
* Wraps a callable to make sure that its returned value represents a valid
* connection type.
*
* @param mixed $callable
* @return mixed
* @param mixed $callable
* @return \Closure
*/
protected function getConnectionInitializerWrapper($callable)
{
@@ -333,10 +333,8 @@ class Client implements ClientInterface
* @param ErrorResponseInterface $response Instance of the error response.
* @return mixed
*/
protected function onErrorResponse(
CommandInterface $command,
ErrorResponseInterface $response
) {
protected function onErrorResponse(CommandInterface $command, ErrorResponseInterface $response)
{
if ($command instanceof ScriptCommand && $response->getErrorType() === 'NOSCRIPT') {
$eval = $this->createCommand('eval');
$eval->setRawArguments($command->getEvalArguments());