mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Any Matcher refactor
This commit is contained in:
@ -341,6 +341,13 @@ final class Expectation
|
|||||||
|| self::hasExtend($name);
|
|| self::hasExtend($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Matches any value
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*
|
||||||
|
* @return Any
|
||||||
|
*/
|
||||||
public function any(): Any
|
public function any(): Any
|
||||||
{
|
{
|
||||||
return new Any();
|
return new Any();
|
||||||
|
|||||||
@ -4,6 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace Pest\Matchers;
|
namespace Pest\Matchers;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
final class Any
|
final class Any
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user