Skip to content

Add missed @return to eval doc #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @param string $script
* @param array $args
* @param int $numKeys
* @return Mixed. What is returned depends on what the LUA script itself returns, which could be a scalar value
* @return mixed What is returned depends on what the LUA script itself returns, which could be a scalar value
* (int/string), or an array. Arrays that are returned can also contain other arrays, if that's how it was set up in
* your LUA script. If there is an error executing the LUA script, the getLastError() function can tell you the
* message that came back from Redis (e.g. compile error).
Expand Down Expand Up @@ -2757,9 +2757,10 @@ public function config( $operation, $key, $value ) {}

/**
* @see eval()
* @param string $script
* @param array $args
* @param int $numKeys
* @param string $script
* @param array $args
* @param int $numKeys
* @return mixed @see eval()
*/
public function evaluate( $script, $args = array(), $numKeys = 0 ) {}

Expand All @@ -2770,7 +2771,7 @@ public function evaluate( $script, $args = array(), $numKeys = 0 ) {}
* @param string $scriptSha
* @param array $args
* @param int $numKeys
* @return mixed. @see eval()
* @return mixed @see eval()
* @see eval()
* @link http://redis.io/commands/evalsha
* @example
Expand Down