Skip to content

Commit

Permalink
Merge pull request ziogas#3 from nate8nate/patch-1
Browse files Browse the repository at this point in the history
Fix the order on the EXPIRE command in Readme
  • Loading branch information
ziogas authored Jun 6, 2017
2 parents cfe4360 + b5c8680 commit ced67e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $redis->set_error_function('redis_error');

$redis->cmd('SET', 'foo', 'bar')
->cmd('HSET', 'hash', 'field', 'val')
->cmd('EXPIRE', 300, 'foo')
->cmd('EXPIRE', 'foo', 300)
->set();

$foo = $redis->cmd('GET', 'foo')->get();
Expand Down

0 comments on commit ced67e4

Please sign in to comment.