Skip to content

Commit

Permalink
Fix variable name in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
msmakouz committed Jun 24, 2024
1 parent da6ab26 commit 5a4c061
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 @@ -137,7 +137,7 @@ while ($task = $consumer->waitTask()) {
try {
$name = $task->getName(); // "ping"
$queue = $task->getQueue(); // "local"
$driver = $queue->getDriver(); // "memory"
$driver = $task->getDriver(); // "memory"
$payload = $task->getPayload(); // {"site": "https://example.com"}
// Process task
Expand Down

0 comments on commit 5a4c061

Please sign in to comment.