diff --git a/src/Helper/StringGenerationHelper.php b/src/Helper/StringGenerationHelper.php index bf0d1c8..2b7a9cb 100644 --- a/src/Helper/StringGenerationHelper.php +++ b/src/Helper/StringGenerationHelper.php @@ -10,11 +10,11 @@ /** * Generate an random string * - * @param string $base Charset to generate the random string + * @param array $base Charset to generate the random string * @param int $length Length of the random string * @return string */ - public static function generateString(string $base, int $length): string + public static function generateString(array $base, int $length): string { $output = ''; for ($index = 0; $index < $length; $index ++) {