Skip to content

Commit 17276d2

Browse files
committed
Merge pull request ukko#13 from rybakit/patch-1
Add missed @return to eval doc
2 parents 794399b + 7e0daf0 commit 17276d2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Redis.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @param string $script
1212
* @param array $args
1313
* @param int $numKeys
14-
* @return Mixed. What is returned depends on what the LUA script itself returns, which could be a scalar value
14+
* @return mixed What is returned depends on what the LUA script itself returns, which could be a scalar value
1515
* (int/string), or an array. Arrays that are returned can also contain other arrays, if that's how it was set up in
1616
* your LUA script. If there is an error executing the LUA script, the getLastError() function can tell you the
1717
* message that came back from Redis (e.g. compile error).
@@ -2757,9 +2757,10 @@ public function config( $operation, $key, $value ) {}
27572757

27582758
/**
27592759
* @see eval()
2760-
* @param string $script
2761-
* @param array $args
2762-
* @param int $numKeys
2760+
* @param string $script
2761+
* @param array $args
2762+
* @param int $numKeys
2763+
* @return mixed @see eval()
27632764
*/
27642765
public function evaluate( $script, $args = array(), $numKeys = 0 ) {}
27652766

@@ -2770,7 +2771,7 @@ public function evaluate( $script, $args = array(), $numKeys = 0 ) {}
27702771
* @param string $scriptSha
27712772
* @param array $args
27722773
* @param int $numKeys
2773-
* @return mixed. @see eval()
2774+
* @return mixed @see eval()
27742775
* @see eval()
27752776
* @link http://redis.io/commands/evalsha
27762777
* @example

0 commit comments

Comments
 (0)