mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-27 04:24:50 +01:00
fix: Argument::that allows params
This commit is contained in:
parent
4290f2b157
commit
1000bb6929
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user