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); }