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 8ba25f0 commit 0202bdeCopy full SHA for 0202bde
src/Utils/Callback.php
@@ -22,6 +22,7 @@ final class Callback
22
23
/**
24
* @param string|object|callable class, object, callable
25
+ * @deprecated use Closure::fromCallable()
26
*/
27
public static function closure($callable, string $method = null): \Closure
28
{
@@ -135,7 +136,7 @@ public static function isStatic(callable $callable): bool
135
136
137
138
- * Unwraps closure created by self::closure()
139
+ * Unwraps closure created by Closure::fromCallable()
140
* @internal
141
142
public static function unwrap(\Closure $closure): callable
0 commit comments