From 218d1dd561c49e3afbbaa60fa85b6fd327e62dac Mon Sep 17 00:00:00 2001 From: Rish <40901142+nanyaDev@users.noreply.github.com> Date: Thu, 11 May 2023 14:01:42 +0100 Subject: [PATCH] Update docs (#3798) --- rules/Php70/Rector/FuncCall/RandomFunctionRector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/Php70/Rector/FuncCall/RandomFunctionRector.php b/rules/Php70/Rector/FuncCall/RandomFunctionRector.php index 8820622969d..1c5fbfcdf03 100644 --- a/rules/Php70/Rector/FuncCall/RandomFunctionRector.php +++ b/rules/Php70/Rector/FuncCall/RandomFunctionRector.php @@ -33,8 +33,8 @@ final class RandomFunctionRector extends AbstractRector implements MinPhpVersion public function getRuleDefinition(): RuleDefinition { return new RuleDefinition( - 'Changes rand, srand and getrandmax by new mt_* alternatives.', - [new CodeSample('rand();', 'mt_rand();')] + 'Changes rand, srand, mt_rand and getrandmax to newer alternatives.', + [new CodeSample('rand();', 'random_int();')] ); }