Skip to content

Commit 1a7718d

Browse files
authored
Merge pull request #65 from nickdnk/master
info command returns array, not string
2 parents d9f2b7b + 8dbc543 commit 1a7718d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RedisClient/Command/Traits/Version2x6/ServerCommandsTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function flushdb() {
218218
* @link http://redis.io/commands/info
219219
*
220220
* @param string $section
221-
* @return string
221+
* @return array
222222
*/
223223
public function info($section = null) {
224224
return $this->returnCommand(['INFO'], null, $section ? [$section] : null, ResponseParser::PARSE_INFO);

0 commit comments

Comments
 (0)