Any Matcher refactor

This commit is contained in:
Fabio Ivona
2022-09-19 11:50:56 +02:00
parent 961e44b5ad
commit a8b8adafdf
2 changed files with 10 additions and 0 deletions

View File

@ -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();

View File

@ -4,6 +4,9 @@ declare(strict_types=1);
namespace Pest\Matchers; namespace Pest\Matchers;
/**
* @internal
*/
final class Any final class Any
{ {
} }