Code Duplication    Length = 10-10 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 1976-1985 (lines=10) @@
1973
   *
1974
   * @return mixed
1975
   */
1976
  public static function filter_input_array($type, $definition = null, $add_empty = true)
1977
  {
1978
    if (2 > func_num_args()) {
1979
      $a = filter_input_array($type);
1980
    } else {
1981
      $a = filter_input_array($type, $definition, $add_empty);
1982
    }
1983
1984
    return self::filter($a);
1985
  }
1986
1987
  /**
1988
   * "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from CP-1252 when needed.
@@ 2016-2025 (lines=10) @@
2013
   *
2014
   * @return mixed
2015
   */
2016
  public static function filter_var_array($data, $definition = null, $add_empty = true)
2017
  {
2018
    if (2 > func_num_args()) {
2019
      $a = filter_var_array($data);
2020
    } else {
2021
      $a = filter_var_array($data, $definition, $add_empty);
2022
    }
2023
2024
    return self::filter($a);
2025
  }
2026
2027
  /**
2028
   * Checks if the number of Unicode characters in a string are not