fix: Argument::that allows params

This commit is contained in:
Feek 2020-05-24 11:29:41 -07:00
parent 4290f2b157
commit 1000bb6929

View File

@ -17,7 +17,7 @@ namespace Prophecy {
use Prophecy\Argument\Token; use Prophecy\Argument\Token;
class Argument class Argument
{ {
/** @param callable():bool $callback */ /** @param callable(mixed...):bool $callback */
public static function that(callable $callback): Token\CallbackToken {} public static function that(callable $callback): Token\CallbackToken {}
/** @param mixed ...$tokens */ /** @param mixed ...$tokens */