We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d9204 commit 25affbbCopy full SHA for 25affbb
src/Illuminate/Foundation/Defer/DeferredCallbackCollection.php
@@ -5,7 +5,6 @@
5
use ArrayAccess;
6
use Closure;
7
use Countable;
8
-use Illuminate\Support\Collection;
9
10
class DeferredCallbackCollection implements ArrayAccess, Countable
11
{
@@ -39,7 +38,7 @@ public function invoke(): void
39
38
/**
40
* Invoke the deferred callbacks if the given truth test evaluates to true.
41
*
42
- * @param \Closure $when
+ * @param \Closure|null $when
43
* @return void
44
*/
45
public function invokeWhen(?Closure $when = null): void
0 commit comments