Skip to content

Commit a98a3fb

Browse files
committed
Updated README with correct return value for ping command
1 parent 6e4a7b2 commit a98a3fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,9 @@ _**Description**_: Check the current connection status
364364

365365
##### *Return value*
366366

367-
*STRING*: `+PONG` on success. Throws a [RedisException](#class-redisexception) object on connectivity error, as described above.
367+
*BOOL*: `TRUE` in case of success. Throws a [RedisException](#class-redisexception) object on connectivity error, as described above.
368368

369+
Staring from version 5.0.0, the command returns boolean `TRUE` instead of *STRING* `+PONG` as in previous versions.
369370

370371
### echo
371372
-----

0 commit comments

Comments
 (0)