From 1b9162151c0ed137e6084a21d3cd24c808bd440b Mon Sep 17 00:00:00 2001 From: jordanbrauer <18744334+jordanbrauer@users.noreply.github.com> Date: Wed, 7 Apr 2021 11:02:00 -0500 Subject: [PATCH] docs: add some method documentation and fix typo --- src/Support/ChainableClosure.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Support/ChainableClosure.php b/src/Support/ChainableClosure.php index a791d0ba..0dc40275 100644 --- a/src/Support/ChainableClosure.php +++ b/src/Support/ChainableClosure.php @@ -12,7 +12,7 @@ use Closure; final class ChainableClosure { /** - * Calls the given `$closure` and chains the the `$next` closure. + * Calls the given `$closure` and chains the `$next` closure. */ public static function from(Closure $closure, Closure $next): Closure { @@ -24,6 +24,9 @@ final class ChainableClosure }; } + /** + * Call the given static `$closure` and chains the `$next` closure. + */ public static function fromStatic(Closure $closure, Closure $next): Closure { return static function () use ($closure, $next): void {