Code Duplication    Length = 10-10 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 1468-1477 (lines=10) @@
1465
   *
1466
   * @return mixed
1467
   */
1468
  public static function filter_input_array($type, $definition = null, $add_empty = true)
1469
  {
1470
    if (2 > func_num_args()) {
1471
      $a = filter_input_array($type);
1472
    } else {
1473
      $a = filter_input_array($type, $definition, $add_empty);
1474
    }
1475
1476
    return self::filter($a);
1477
  }
1478
1479
  /**
1480
   * "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed.
@@ 1508-1517 (lines=10) @@
1505
   *
1506
   * @return mixed
1507
   */
1508
  public static function filter_var_array($data, $definition = null, $add_empty = true)
1509
  {
1510
    if (2 > func_num_args()) {
1511
      $a = filter_var_array($data);
1512
    } else {
1513
      $a = filter_var_array($data, $definition, $add_empty);
1514
    }
1515
1516
    return self::filter($a);
1517
  }
1518
1519
  /**
1520
   * Check if the number of unicode characters are not more than the specified integer.