Skip to content

Commit

Permalink
Remove a unused import and fix docblock for DeferredCallbackCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
seriquynh committed Sep 16, 2024
1 parent 05d9204 commit 94a9d88
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use ArrayAccess;
use Closure;
use Countable;
use Illuminate\Support\Collection;

class DeferredCallbackCollection implements ArrayAccess, Countable
{
Expand Down Expand Up @@ -39,7 +38,7 @@ public function invoke(): void
/**
* Invoke the deferred callbacks if the given truth test evaluates to true.
*
* @param \Closure $when
* @param \Closure|null $when
* @return void
*/
public function invokeWhen(?Closure $when = null): void
Expand Down

0 comments on commit 94a9d88

Please sign in to comment.