浏览代码

Update phpdocs.

[ci skip]
Daniele Alessandri 11 年之前
父节点
当前提交
7cf9cfc496
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      lib/Predis/Client.php

+ 3 - 3
lib/Predis/Client.php

@@ -392,7 +392,7 @@ class Client implements ClientInterface
      * Creates a new pipeline context and returns it, or returns the results of
      * Creates a new pipeline context and returns it, or returns the results of
      * a pipeline executed inside the optionally provided callable object.
      * a pipeline executed inside the optionally provided callable object.
      *
      *
-     * @param  mixed          $arg,... Options for the context, or a callable, or both.
+     * @param  mixed          $arg,... Array of options, a callable for execution, or both.
      * @return Pipeline|array
      * @return Pipeline|array
      */
      */
     public function pipeline(/* arguments */)
     public function pipeline(/* arguments */)
@@ -430,7 +430,7 @@ class Client implements ClientInterface
      * Creates a new transaction context and returns it, or returns the results
      * Creates a new transaction context and returns it, or returns the results
      * of a transaction executed inside the optionally provided callable object.
      * of a transaction executed inside the optionally provided callable object.
      *
      *
-     * @param  mixed                      $arg,... Options for the context, or a callable, or both.
+     * @param  mixed                      $arg,... Array of options, a callable for execution, or both.
      * @return TransactionMultiExec|array
      * @return TransactionMultiExec|array
      */
      */
     public function transaction(/* arguments */)
     public function transaction(/* arguments */)
@@ -460,7 +460,7 @@ class Client implements ClientInterface
      * Creates a new publis/subscribe context and returns it, or starts its loop
      * Creates a new publis/subscribe context and returns it, or starts its loop
      * inside the optionally provided callable object.
      * inside the optionally provided callable object.
      *
      *
-     * @param  mixed               $arg,... Options for the context, or a callable, or both.
+     * @param  mixed               $arg,... Array of options, a callable for execution, or both.
      * @return PubSubConsumer|NULL
      * @return PubSubConsumer|NULL
      */
      */
     public function pubSubLoop(/* arguments */)
     public function pubSubLoop(/* arguments */)