diff --git a/app/Captcha/Types/StringType.php b/app/Captcha/Types/StringType.php index 121993a..a69c1cd 100644 --- a/app/Captcha/Types/StringType.php +++ b/app/Captcha/Types/StringType.php @@ -19,7 +19,7 @@ final class StringType extends Type $success = $this->randomSymbols($lengthSymbols); $fakes = []; if (!empty($lengthFakeSymbols)) { - $fakes = $this->randomSymbols($lengthFakeSymbols, $fakes); + $fakes = $this->randomSymbols($lengthFakeSymbols, $success); } return new Symbols(