Code Duplication    Length = 10-10 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 2415-2424 (lines=10) @@
2412
   *
2413
   * @return mixed
2414
   */
2415
  public static function filter_input_array($type, $definition = null, $add_empty = true)
2416
  {
2417
    if (2 > func_num_args()) {
2418
      $a = filter_input_array($type);
2419
    } else {
2420
      $a = filter_input_array($type, $definition, $add_empty);
2421
    }
2422
2423
    return self::filter($a);
2424
  }
2425
2426
  /**
2427
   * "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from CP-1252 when needed.
@@ 2455-2464 (lines=10) @@
2452
   *
2453
   * @return mixed
2454
   */
2455
  public static function filter_var_array($data, $definition = null, $add_empty = true)
2456
  {
2457
    if (2 > func_num_args()) {
2458
      $a = filter_var_array($data);
2459
    } else {
2460
      $a = filter_var_array($data, $definition, $add_empty);
2461
    }
2462
2463
    return self::filter($a);
2464
  }
2465
2466
  /**
2467
   * Checks if the number of Unicode characters in a string are not