From a11900b1e31dd91b32d5ca3ba304c84c8d4cb3c4 Mon Sep 17 00:00:00 2001 From: Yada Clintjens Date: Thu, 2 Nov 2023 17:08:54 +0100 Subject: [PATCH] Fix typos in documentation --- README.md | 2 +- src/Queue.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc4add1..b2c07ef 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ This means that you control how many operations can be executed concurrently. If you add a job to the queue and it still below the limit, it will be executed immediately. If you keep adding new jobs to the queue and its concurrency limit is reached, it will not start a new operation and instead queue this for future -execution. Once one of the pending operations complete, it will pick the next +execution. Once one of the pending operations is complete, it will pick the next job from the queue and execute this operation. The `new Queue(int $concurrency, ?int $limit, callable(mixed):PromiseInterface $handler)` call diff --git a/src/Queue.php b/src/Queue.php index 2287514..451d6a2 100644 --- a/src/Queue.php +++ b/src/Queue.php @@ -16,7 +16,7 @@ * If you add a job to the queue and it still below the limit, it will be executed * immediately. If you keep adding new jobs to the queue and its concurrency limit * is reached, it will not start a new operation and instead queue this for future - * execution. Once one of the pending operations complete, it will pick the next + * execution. Once one of the pending operations is complete, it will pick the next * job from the queue and execute this operation. * * @template T