Code Duplication    Length = 8-8 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 3903-3910 (lines=8) @@
3900
   *
3901
   * @return   string The character with the highest code point than others.
3902
   */
3903
  public static function max($arg)
3904
  {
3905
    if (is_array($arg)) {
3906
      $arg = implode($arg);
3907
    }
3908
3909
    return self::chr(max(self::codepoints($arg)));
3910
  }
3911
3912
  /**
3913
   * Calculates and returns the maximum number of bytes taken by any
@@ 3953-3960 (lines=8) @@
3950
   *
3951
   * @return string The character with the lowest code point than others.
3952
   */
3953
  public static function min($arg)
3954
  {
3955
    if (is_array($arg)) {
3956
      $arg = implode($arg);
3957
    }
3958
3959
    return self::chr(min(self::codepoints($arg)));
3960
  }
3961
3962
  /**
3963
   * alias for "UTF8::normalize_encoding()"