mirror of
https://github.com/predis/predis.git
synced 2026-08-30 20:21:31 +00:00
Fix phpdocs for fluent interfaces.
[ci skip]
This commit is contained in:
@@ -51,9 +51,9 @@ class Pipeline implements BasicClientInterface, ExecutableContextInterface
|
|||||||
/**
|
/**
|
||||||
* Queues a command into the pipeline buffer.
|
* Queues a command into the pipeline buffer.
|
||||||
*
|
*
|
||||||
* @param string $method Command ID.
|
* @param string $method Command ID.
|
||||||
* @param array $arguments Arguments for the command.
|
* @param array $arguments Arguments for the command.
|
||||||
* @return Pipeline
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function __call($method, $arguments)
|
public function __call($method, $arguments)
|
||||||
{
|
{
|
||||||
@@ -77,7 +77,7 @@ class Pipeline implements BasicClientInterface, ExecutableContextInterface
|
|||||||
* Queues a command instance into the pipeline buffer.
|
* Queues a command instance into the pipeline buffer.
|
||||||
*
|
*
|
||||||
* @param CommandInterface $command Command instance to be queued in the buffer.
|
* @param CommandInterface $command Command instance to be queued in the buffer.
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function executeCommand(CommandInterface $command)
|
public function executeCommand(CommandInterface $command)
|
||||||
{
|
{
|
||||||
@@ -152,8 +152,8 @@ class Pipeline implements BasicClientInterface, ExecutableContextInterface
|
|||||||
/**
|
/**
|
||||||
* Flushes the buffer holding all of the commands queued so far.
|
* Flushes the buffer holding all of the commands queued so far.
|
||||||
*
|
*
|
||||||
* @param bool $send Specifies if the commands in the buffer should be sent to Redis.
|
* @param bool $send Specifies if the commands in the buffer should be sent to Redis.
|
||||||
* @return Pipeline
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function flushPipeline($send = true)
|
public function flushPipeline($send = true)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -184,8 +184,8 @@ class MultiExec implements BasicClientInterface, ExecutableContextInterface
|
|||||||
/**
|
/**
|
||||||
* Executes the specified Redis command.
|
* Executes the specified Redis command.
|
||||||
*
|
*
|
||||||
* @param CommandInterface $command Command instance.
|
* @param CommandInterface $command Command instance.
|
||||||
* @return mixed
|
* @return $this|mixed
|
||||||
*/
|
*/
|
||||||
public function executeCommand(CommandInterface $command)
|
public function executeCommand(CommandInterface $command)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user