From e896bce22747d1dc877a9e91f7d01f68f2f574dc Mon Sep 17 00:00:00 2001 From: Daniel Drexlmaier Date: Sun, 5 Feb 2023 15:38:22 +0100 Subject: [PATCH] Update Assert.php #5169 Typ passend zu https://github.com/sebastianbergmann/phpunit/blob/main/src/Framework/Constraint/Cardinality/GreaterThan.php: public function __construct(float|int $value) --- src/Framework/Assert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Framework/Assert.php b/src/Framework/Assert.php index 718687df74f..a14f2b99344 100644 --- a/src/Framework/Assert.php +++ b/src/Framework/Assert.php @@ -2107,7 +2107,7 @@ final public static function fileExists(): FileExists return new FileExists; } - final public static function greaterThan(mixed $value): GreaterThan + final public static function greaterThan(float|int $value): GreaterThan { return new GreaterThan($value); }