Skip to content

Commit 8dbc543

Browse files
committed
info command returns array, not string
1 parent d9f2b7b commit 8dbc543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)