Skip to content

Commit 1b44d84

Browse files
author
Bogdans Ozerkins
committed
update readme.md according to interface change
1 parent 9d0c52e commit 1b44d84

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ You can write to queue and read from queue. These are the basic operations.
2727
2828
```php
2929
# write two messages
30-
$queue->write('my message');
31-
$queue->write('my second message');
30+
$queue->write(
31+
[
32+
'my message',
33+
'my second message'
34+
]
35+
);
3236

3337
# read two messages
3438
print_r($queue->read(2));

0 commit comments

Comments
 (0)