Skip to content

Commit 37f6cc5

Browse files
committed
added support lowercase a-z for generateString
1 parent 4b9c79e commit 37f6cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StringHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This helper methods for string
77
* @package darkfriend\helpers
88
* @author darkfriend <hi@darkfriend.ru>
9-
* @version 1.0.0
9+
* @version 1.0.4
1010
*/
1111
class StringHelper
1212
{
@@ -68,7 +68,7 @@ public static function htmlspecialchars_decode($val)
6868
* @param string $chars
6969
* @return string
7070
*/
71-
public static function generateString($length = 8, $chars = '0123456789ABDEFGHKNQRSTYZ')
71+
public static function generateString($length = 8, $chars = '0123456789abdefghknqrstyzABDEFGHKNQRSTYZ')
7272
{
7373
$numChars = \strlen($chars);
7474
$string = '';

0 commit comments

Comments
 (0)