@@ -94,18 +94,18 @@ |
||
94 | 94 | return (string)preg_replace('/[^\x20-\x7E]/u', '', $value); |
95 | 95 | } |
96 | 96 | |
97 | - /** |
|
98 | - * This function is used to hidden some part of the given string. Helpful |
|
99 | - * if you need hide some confidential information |
|
100 | - * like credit card number, password, etc. |
|
101 | - * |
|
102 | - * @param string $str the string you want to hide some part |
|
103 | - * @param int $startCount the length of non hidden for the beginning char |
|
104 | - * @param int $endCount the length of non hidden for the ending char |
|
105 | - * @param string $hiddenChar the char used to hide the given string |
|
106 | - * |
|
107 | - * @return string |
|
108 | - */ |
|
97 | + /** |
|
98 | + * This function is used to hidden some part of the given string. Helpful |
|
99 | + * if you need hide some confidential information |
|
100 | + * like credit card number, password, etc. |
|
101 | + * |
|
102 | + * @param string $str the string you want to hide some part |
|
103 | + * @param int $startCount the length of non hidden for the beginning char |
|
104 | + * @param int $endCount the length of non hidden for the ending char |
|
105 | + * @param string $hiddenChar the char used to hide the given string |
|
106 | + * |
|
107 | + * @return string |
|
108 | + */ |
|
109 | 109 | public static function hidden( |
110 | 110 | string $str, |
111 | 111 | int $startCount = 0, |