File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ trigger at the earliest possible time in the future.
161161
162162### parallel()
163163
164- The ` parallel(array<callable():PromiseInterface<mixed,Exception >> $tasks): PromiseInterface<array<mixed>,Exception > ` function can be used
164+ The ` parallel(array<callable():PromiseInterface<mixed>> $tasks): PromiseInterface<array<mixed>> ` function can be used
165165like this:
166166
167167``` php
@@ -203,7 +203,7 @@ React\Async\parallel([
203203
204204### series()
205205
206- The ` series(array<callable():PromiseInterface<mixed,Exception >> $tasks): PromiseInterface<array<mixed>,Exception > ` function can be used
206+ The ` series(array<callable():PromiseInterface<mixed>> $tasks): PromiseInterface<array<mixed>> ` function can be used
207207like this:
208208
209209``` php
@@ -245,7 +245,7 @@ React\Async\series([
245245
246246### waterfall()
247247
248- The ` waterfall(array<callable(mixed=):PromiseInterface<mixed,Exception >> $tasks): PromiseInterface<mixed,Exception > ` function can be used
248+ The ` waterfall(array<callable(mixed=):PromiseInterface<mixed>> $tasks): PromiseInterface<mixed> ` function can be used
249249like this:
250250
251251``` php
Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ function delay($seconds)
179179}
180180
181181/**
182- * @param array<callable():PromiseInterface<mixed,Exception >> $tasks
183- * @return PromiseInterface<array<mixed>,Exception >
182+ * @param array<callable():PromiseInterface<mixed>> $tasks
183+ * @return PromiseInterface<array<mixed>>
184184 */
185185function parallel (array $ tasks )
186186{
@@ -237,8 +237,8 @@ function parallel(array $tasks)
237237}
238238
239239/**
240- * @param array<callable():PromiseInterface<mixed,Exception >> $tasks
241- * @return PromiseInterface<array<mixed>,Exception >
240+ * @param array<callable():PromiseInterface<mixed>> $tasks
241+ * @return PromiseInterface<array<mixed>>
242242 */
243243function series (array $ tasks )
244244{
@@ -277,8 +277,8 @@ function series(array $tasks)
277277}
278278
279279/**
280- * @param array<callable(mixed=):PromiseInterface<mixed,Exception >> $tasks
281- * @return PromiseInterface<mixed,Exception >
280+ * @param array<callable(mixed=):PromiseInterface<mixed>> $tasks
281+ * @return PromiseInterface<mixed>
282282 */
283283function waterfall (array $ tasks )
284284{
You can’t perform that action at this time.
0 commit comments