File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 26
26
* @category Function
27
27
*
28
28
* @param callable $func The function to curry.
29
- * @param int $arity The arity of `func`.
29
+ * @param int|null $arity The arity of `func`.
30
30
*
31
31
* @return callable Returns the new curried function.
32
32
* @example
Original file line number Diff line number Diff line change 17
17
*
18
18
* @category Function
19
19
*
20
- * @param callable $func The function to delay.
21
- * @param int $wait The number of milliseconds to delay invocation.
22
- * @param mixed[] $args
20
+ * @param callable $func The function to delay.
21
+ * @param int $wait The number of milliseconds to delay invocation.
22
+ * @param array<int, mixed> $args
23
23
*
24
24
* @return int the timer id.
25
25
* @example
Original file line number Diff line number Diff line change 20
20
*
21
21
* @category Function
22
22
*
23
- * @param callable $func The function to partially apply arguments to.
24
- * @param mixed[] $partials The arguments to be partially applied.
23
+ * @param callable $func The function to partially apply arguments to.
24
+ * @param array<int, mixed> $partials The arguments to be partially applied.
25
25
*
26
26
* @return callable Returns the new partially applied function.
27
27
*
Original file line number Diff line number Diff line change 18
18
*
19
19
* @category Function
20
20
*
21
- * @param mixed value The value to wrap.
21
+ * @param mixed $ value The value to wrap.
22
22
* @param callable $wrapper The wrapper function.
23
23
*
24
24
* @return callable the new function.
You can’t perform that action at this time.
0 commit comments