Skip to content

Commit 727b824

Browse files
mithunsatheeshmichael-grunder
authored andcommitted
Update README.markdown
fixed syntax error in set examples.
1 parent e482f97 commit 727b824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,10 +658,10 @@ $redis->set('key', 'value');
658658
$redis->set('key','value', 10);
659659
660660
// Will set the key, if it doesn't exist, with a ttl of 10 seconds
661-
$redis->set('key', 'value', Array('nx', 'ex'=>10);
661+
$redis->set('key', 'value', Array('nx', 'ex'=>10));
662662
663663
// Will set a key, if it does exist, with a ttl of 1000 miliseconds
664-
$redis->set('key', 'value', Array('xx', 'px'=>1000);
664+
$redis->set('key', 'value', Array('xx', 'px'=>1000));
665665
666666
~~~
667667

0 commit comments

Comments
 (0)