Skip to content

Commit 25affbb

Browse files
authored
Remove a unused import and fix docblock for DeferredCallbackCollection (#52808)
1 parent 05d9204 commit 25affbb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Illuminate/Foundation/Defer/DeferredCallbackCollection.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use ArrayAccess;
66
use Closure;
77
use Countable;
8-
use Illuminate\Support\Collection;
98

109
class DeferredCallbackCollection implements ArrayAccess, Countable
1110
{
@@ -39,7 +38,7 @@ public function invoke(): void
3938
/**
4039
* Invoke the deferred callbacks if the given truth test evaluates to true.
4140
*
42-
* @param \Closure $when
41+
* @param \Closure|null $when
4342
* @return void
4443
*/
4544
public function invokeWhen(?Closure $when = null): void

0 commit comments

Comments
 (0)