Explorar o código

Run php-cs-fixer.

Daniele Alessandri %!s(int64=9) %!d(string=hai) anos
pai
achega
4f30ac6370

+ 1 - 1
src/Connection/Aggregate/RedisCluster.php

@@ -309,8 +309,8 @@ class RedisCluster implements ClusterInterface, \IteratorAggregate, \Countable
      * @param int $slot Slot index.
      *
      * @throws \OutOfBoundsException
-     * @return NodeConnectionInterface
      *
+     * @return NodeConnectionInterface
      */
     public function getConnectionBySlot($slot)
     {

+ 2 - 2
src/Connection/Parameters.php

@@ -69,8 +69,8 @@ class Parameters implements ParametersInterface
      * @param string $uri URI string.
      *
      * @throws \InvalidArgumentException
-     * @return array
      *
+     * @return array
      */
     public static function parse($uri)
     {
@@ -111,8 +111,8 @@ class Parameters implements ParametersInterface
      * @param string $uri URI string.
      *
      * @throws \InvalidArgumentException
-     * @return array
      *
+     * @return array
      */
     public static function parseIANA($uri)
     {

+ 1 - 1
src/Connection/WebdisConnection.php

@@ -221,8 +221,8 @@ class WebdisConnection implements NodeConnectionInterface
      * @param CommandInterface $command Command instance.
      *
      * @throws NotSupportedException
-     * @return string
      *
+     * @return string
      */
     protected function getCommandId(CommandInterface $command)
     {

+ 1 - 1
src/Pipeline/Pipeline.php

@@ -194,8 +194,8 @@ class Pipeline implements ClientContextInterface
      *
      * @throws \Exception
      * @throws \InvalidArgumentException
-     * @return array
      *
+     * @return array
      */
     public function execute($callable = null)
     {

+ 1 - 1
src/Replication/ReplicationStrategy.php

@@ -42,8 +42,8 @@ class ReplicationStrategy
      * @param CommandInterface $command Command instance.
      *
      * @throws NotSupportedException
-     * @return bool
      *
+     * @return bool
      */
     public function isReadOperation(CommandInterface $command)
     {

+ 5 - 5
src/Transaction/MultiExec.php

@@ -169,8 +169,8 @@ class MultiExec implements ClientContextInterface
      * @param array  $arguments Arguments for the command.
      *
      * @throws ServerException
-     * @return mixed
      *
+     * @return mixed
      */
     protected function call($commandID, array $arguments = array())
     {
@@ -192,8 +192,8 @@ class MultiExec implements ClientContextInterface
      *
      * @throws AbortedMultiExecException
      * @throws CommunicationException
-     * @return $this|mixed
      *
+     * @return $this|mixed
      */
     public function executeCommand(CommandInterface $command)
     {
@@ -223,8 +223,8 @@ class MultiExec implements ClientContextInterface
      *
      * @throws NotSupportedException
      * @throws ClientException
-     * @return mixed
      *
+     * @return mixed
      */
     public function watch($keys)
     {
@@ -263,8 +263,8 @@ class MultiExec implements ClientContextInterface
      * Executes UNWATCH.
      *
      * @throws NotSupportedException
-     * @return MultiExec
      *
+     * @return MultiExec
      */
     public function unwatch()
     {
@@ -353,8 +353,8 @@ class MultiExec implements ClientContextInterface
      * @throws CommunicationException
      * @throws AbortedMultiExecException
      * @throws ServerException
-     * @return array
      *
+     * @return array
      */
     public function execute($callable = null)
     {

+ 1 - 1
tests/PHPUnit/PredisTestCase.php

@@ -193,8 +193,8 @@ abstract class PredisTestCase extends \PHPUnit_Framework_TestCase
      * Returns the server version of the Redis instance used by the test suite.
      *
      * @throws RuntimeException When the client cannot retrieve the current server version
-     * @return string
      *
+     * @return string
      */
     protected function getRedisServerVersion()
     {