@@ -77,6 +77,7 @@ discard block |
||
| 77 | 77 | * Example: Func::compose(f, g, h)(x) is the equivalent of f(g(h(x))). |
| 78 | 78 | * |
| 79 | 79 | * @param callable[] ...$callables The callables to compose. |
| 80 | + * @param string $callables |
|
| 80 | 81 | * @return \Closure |
| 81 | 82 | */ |
| 82 | 83 | public static function compose(callable ...$callables) : \Closure |
@@ -185,6 +186,7 @@ discard block |
||
| 185 | 186 | * |
| 186 | 187 | * @param callable $callback The callable to wrap. |
| 187 | 188 | * @param mixed ...$prependedArgs The arguments to prepend to the callback. |
| 189 | + * @param string $prependedArgs |
|
| 188 | 190 | * @return \Closure The wrapper. |
| 189 | 191 | */ |
| 190 | 192 | public static function partial(callable $callback, ...$prependedArgs) : \Closure |
@@ -200,6 +202,7 @@ discard block |
||
| 200 | 202 | * |
| 201 | 203 | * @param callable $callback The callable to wrap. |
| 202 | 204 | * @param mixed ...$appendedArgs The arguments to append to the callback. |
| 205 | + * @param string $appendedArgs |
|
| 203 | 206 | * @return \Closure The wrapper. |
| 204 | 207 | */ |
| 205 | 208 | public static function partialRight(callable $callback, ...$appendedArgs) : \Closure |