Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Corrected mistake in 2nd payload reference (oops).
  • Loading branch information
devbastic authored and nekufa committed May 24, 2024
1 parent c8e4957 commit e71e0d6
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 @@ -120,7 +120,7 @@ echo $message1->payload . PHP_EOL; // hello
// locks untill message is fetched from subject
// to limit lock timeout, pass optional timeout value
$message2 = $queue->next();
echo $message2->payload() . PHP_EOL; // world
echo $message2->payload . PHP_EOL; // world

$client->publish('test_subject', 'hello');
$client->publish('test_subject', 'batching');
Expand Down

0 comments on commit e71e0d6

Please sign in to comment.