Code Duplication    Length = 8-8 lines in 2 locations

includes/libraries/protect/AntiXSS/UTF8.php 2 locations

@@ 3443-3450 (lines=8) @@
3440
   *
3441
   * @return string <p>The character with the highest code point than others.</p>
3442
   */
3443
  public static function max($arg)
3444
  {
3445
    if (is_array($arg) === true) {
3446
      $arg = implode('', $arg);
3447
    }
3448
3449
    return self::chr(max(self::codepoints($arg)));
3450
  }
3451
3452
  /**
3453
   * Calculates and returns the maximum number of bytes taken by any
@@ 3493-3500 (lines=8) @@
3490
   *
3491
   * @return string <p>The character with the lowest code point than others.</p>
3492
   */
3493
  public static function min($arg)
3494
  {
3495
    if (is_array($arg) === true) {
3496
      $arg = implode('', $arg);
3497
    }
3498
3499
    return self::chr(min(self::codepoints($arg)));
3500
  }
3501
3502
  /**
3503
   * alias for "UTF8::normalize_encoding()"