Skip to content

Commit 6201e3f

Browse files
committed
Callback: deprecated invoke() and invokeArgs()
1 parent a3d56dd commit 6201e3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Utils/Callback.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public static function closure($callable, string $method = null): \Closure
6363
/**
6464
* Invokes callback.
6565
* @return mixed
66+
* @deprecated
6667
*/
6768
public static function invoke($callable, ...$args)
6869
{
@@ -74,6 +75,7 @@ public static function invoke($callable, ...$args)
7475
/**
7576
* Invokes callback with an array of parameters.
7677
* @return mixed
78+
* @deprecated
7779
*/
7880
public static function invokeArgs($callable, array $args = [])
7981
{

0 commit comments

Comments
 (0)