diff --git a/src/Expectation.php b/src/Expectation.php index 2cfa4a98..44144788 100644 --- a/src/Expectation.php +++ b/src/Expectation.php @@ -341,6 +341,13 @@ final class Expectation || self::hasExtend($name); } + /** + * Matches any value + * + * @internal + * + * @return Any + */ public function any(): Any { return new Any(); diff --git a/src/Matchers/Any.php b/src/Matchers/Any.php index b3a308a9..484cf795 100644 --- a/src/Matchers/Any.php +++ b/src/Matchers/Any.php @@ -4,6 +4,9 @@ declare(strict_types=1); namespace Pest\Matchers; +/** + * @internal + */ final class Any { }