File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,7 @@ public function unwatch( ) {}
337
337
* @param array $channels an array of channels to subscribe to
338
338
* @param string | array $callback either a string or an array($instance, 'method_name').
339
339
* The callback function receives 3 parameters: the redis instance, the channel name, and the message.
340
+ * @return mixed Any non-null return value in the callback will be returned to the caller.
340
341
* @link http://redis.io/commands/subscribe
341
342
* @example
342
343
* <pre>
@@ -367,6 +368,7 @@ public function subscribe( $channels, $callback ) {}
367
368
* @param array $patterns The number of elements removed from the set.
368
369
* @param string|array $callback Either a string or an array with an object and method.
369
370
* The callback will get four arguments ($redis, $pattern, $channel, $message)
371
+ * @param mixed Any non-null return value in the callback will be returned to the caller.
370
372
* @link http://redis.io/commands/psubscribe
371
373
* @example
372
374
* <pre>
You can’t perform that action at this time.
0 commit comments