psalm-plugin-phpunit/stubs/Prophecy.phpstub
2020-05-24 12:52:09 -07:00

27 lines
621 B
Plaintext

<?php
namespace Prophecy\Prophecy {
/** @template T */
class ObjectProphecy implements ProphecyInterface
{
/** @return T */
public function reveal() {}
}
class MethodProphecy
{
public function willReturn(...$values): self {}
}
}
namespace Prophecy {
use Prophecy\Argument\Token;
class Argument
{
/** @param callable(mixed...):bool $callback */
public static function that(callable $callback): Token\CallbackToken {}
/** @param mixed ...$tokens */
public static function allOf(...$tokens): Token\LogicalAndToken {}
}
}