From 425cb5aeb7858f19a8dd6cf13a664144c5c8b31a Mon Sep 17 00:00:00 2001 From: alin Date: Thu, 14 Mar 2024 15:52:54 +0100 Subject: [PATCH] Deprecate randomInt() Replaced by int() in NumericRandomizer. #150 --- packages/Utils/src/Math.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/Utils/src/Math.php b/packages/Utils/src/Math.php index 7f33c6d04..3ed538364 100644 --- a/packages/Utils/src/Math.php +++ b/packages/Utils/src/Math.php @@ -29,6 +29,8 @@ public static function randomizer(Engine|null $engine = null): NumericRandomizer } /** + * @deprecated Since v8.0 - Use \Aedart\Utils\Math::randomizer()->int() instead. + * * Returns a random cryptographically secure, uniformly selected number * * @see https://www.php.net/manual/en/function.random-int