diff --git a/src/MultiByte.php b/src/MultiByte.php index 90509d6..56a697c 100644 --- a/src/MultiByte.php +++ b/src/MultiByte.php @@ -127,7 +127,7 @@ public static function wordWrap($string, $width = 75, $break = "\n", $cut = fals * @param string $charset * @return string */ - public static function strPad($input, $padLength, $padString = ' ', $padType = \STR\PAD\RIGHT, $charset = 'UTF-8') + public static function strPad($input, $padLength, $padString = ' ', $padType = STR_PAD_RIGHT, $charset = 'UTF-8') { $return = ''; $lengthOfPadding = $padLength - iconv_strlen($input, $charset);