File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ empty array without processing any jobs.
314314The ` $handler ` parameter must be a valid callable that accepts your job
315315parameters, invokes the appropriate operation and returns a Promise as a
316316placeholder for its future result. If the given argument is not a valid
317- callable, this method will reject with an ` InvalidArgumentExceptionn `
317+ callable, this method will reject with an ` InvalidArgumentException `
318318without processing any jobs.
319319
320320``` php
Original file line number Diff line number Diff line change 1818 * immediately. If you keep adding new jobs to the queue and its concurrency limit
1919 * is reached, it will not start a new operation and instead queue this for future
2020 * execution. Once one of the pending operations complete, it will pick the next
21- * job from the qeueue and execute this operation.
21+ * job from the queue and execute this operation.
2222 */
2323class Queue implements \Countable
2424{
@@ -84,7 +84,7 @@ class Queue implements \Countable
8484 * The `$handler` parameter must be a valid callable that accepts your job
8585 * parameters, invokes the appropriate operation and returns a Promise as a
8686 * placeholder for its future result. If the given argument is not a valid
87- * callable, this method will reject with an `InvalidArgumentExceptionn `
87+ * callable, this method will reject with an `InvalidArgumentException `
8888 * without processing any jobs.
8989 *
9090 * ```php
@@ -237,7 +237,7 @@ public function __invoke()
237237 );
238238 }
239239
240- // we're currently above concurreny limit, make sure we do not exceed maximum queue limit
240+ // we're currently above concurrency limit, make sure we do not exceed maximum queue limit
241241 if ($ this ->limit !== null && $ this ->count () >= $ this ->limit ) {
242242 return Promise \reject (new \OverflowException ('Maximum queue limit of ' . $ this ->limit . ' exceeded ' ));
243243 }
You can’t perform that action at this time.
0 commit comments