Skip to content

Commit

Permalink
CS Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alibo committed Mar 19, 2017
1 parent da7048f commit d06930d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Redis/Connections/PhpRedisConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function zadd($key, ...$dictionary)
}

/**
* Execute commands in a pipeline
* Execute commands in a pipeline.
*
* @param callable $callback
* @return array|\Redis
Expand All @@ -126,7 +126,7 @@ public function pipeline(callable $callback = null)
}

/**
* Execute commands in a transaction
* Execute commands in a transaction.
*
* @param callable $callback
* @return array|\Redis
Expand All @@ -141,14 +141,14 @@ public function transaction(callable $callback = null)
}

/**
* Execute a raw command
* Execute a raw command.
*
* @param array $parameters
* @return mixed
*/
public function executeRaw(array $parameters)
{
return $this->command("rawCommand", $parameters);
return $this->command('rawCommand', $parameters);
}

/**
Expand Down
8 changes: 4 additions & 4 deletions tests/Redis/Connections/PhpRedisConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Illuminate\Tests\Redis\Connections;

use Illuminate\Tests\Redis\InteractsWithRedis;
use PHPUnit\Framework\TestCase;
use Illuminate\Tests\Redis\InteractsWithRedis;

class PhpRedisConnectionTest extends TestCase
{
Expand All @@ -14,7 +14,7 @@ public function setUp()
parent::setUp();
$this->setUpRedis();

if(! isset($this->redis['phpredis'])) {
if (! isset($this->redis['phpredis'])) {
$this->markTestSkipped('PhpRedis should be enabled to run the tests');
}
}
Expand All @@ -33,7 +33,7 @@ public function testPhpRedisPipeline()
$pipe->set('test:pipeline:2', 2);
$pipe->get('test:pipeline:2');
});

$this->assertCount(4, $result);
$this->assertEquals(1, $result[1]);
$this->assertEquals(2, $result[3]);
Expand Down Expand Up @@ -61,4 +61,4 @@ public function testPhpRedisExecuteRaw()
1, $this->redis['phpredis']->connection()->executeRaw(['GET', 'test:raw:1'])
);
}
}
}

0 comments on commit d06930d

Please sign in to comment.