Skip to content

Commit b0f5789

Browse files
committed
doc: Fix wrong word
1 parent 88a3cee commit b0f5789

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Console/Command/ConsumeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function configure(): void
8383
->addOption('save', null, InputOption::VALUE_NONE, 'Save failed job.')
8484
->addOption('max', null, InputOption::VALUE_REQUIRED, 'The max number of jobs.')
8585
->addOption('expire', null, InputOption::VALUE_REQUIRED, 'The worker duration in seconds.')
86-
->addOption('expireWhenEmpty', null, InputOption::VALUE_REQUIRED, 'Stop the worker when the queues are empty for an among of time in seconds.')
86+
->addOption('expireWhenEmpty', null, InputOption::VALUE_REQUIRED, 'Stop the worker when the queues are empty for an amount of time in seconds.')
8787
->addOption('stopWhenEmpty', null, InputOption::VALUE_NONE, 'Stop the worker if the queues are empty.')
8888
->addOption('stopOnError', null, InputOption::VALUE_NONE, 'Stop the worker if error occurs.')
8989
->addOption('logger', null, InputOption::VALUE_REQUIRED, 'The logger to use "stdout", "null", or "default".', "default")

src/Consumer/Receiver/Builder/ReceiverBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public function expire(int $seconds): ReceiverBuilder
232232
}
233233

234234
/**
235-
* Stops consumption when the queues are empty for a among of time
235+
* Stops consumption when the queues are empty for an amount of time
236236
*
237237
* @param int $seconds Time in seconds
238238
*

0 commit comments

Comments
 (0)