Skip to content

Commit

Permalink
Added a few @return annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueM committed May 10, 2013
1 parent b46ec3b commit ea29c73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Redis.php
Expand Up @@ -368,6 +368,7 @@ public function psubscribe( $patterns, $callback ) {}
* @param string $channel a channel to publish to
* @param string $message string
* @link http://redis.io/commands/publish
* @return int Number of clients that received the message
* @example $redis->publish('chan-1', 'hello, world!'); // send message.
*/
public function publish( $channel, $message ) {}
Expand Down Expand Up @@ -1882,6 +1883,7 @@ public function sort( $key, $option = null ) {}
* - vm_enabled
* - role
* @link http://redis.io/commands/info
* @return string
* @example
* <pre>
* $redis->info();
Expand Down Expand Up @@ -1994,6 +1996,7 @@ public function mget( array $array ) {}
/**
* @see mset()
* @param array $array
* @return int 1 (if the keys were set) or 0 (no key was set)
* @link http://redis.io/commands/msetnx
*/
public function msetnx( array $array ) {}
Expand Down Expand Up @@ -2134,6 +2137,7 @@ public function zRem( $key, $member1, $member2 = null, $memberN = null ) {}
* @param string $member1
* @param string $member2
* @param string $memberN
* @return int Number of deleted values
* @link http://redis.io/commands/zrem
*/
public function zDelete( $key, $member1, $member2 = null, $memberN = null ) {}
Expand Down

0 comments on commit ea29c73

Please sign in to comment.