Skip to content

Commit

Permalink
Deprecate randomInt()
Browse files Browse the repository at this point in the history
Replaced by int() in NumericRandomizer.

#150
  • Loading branch information
aedart committed Mar 14, 2024
1 parent 130d908 commit 425cb5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/Utils/src/Math.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 425cb5a

Please sign in to comment.