Code Duplication    Length = 10-10 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 1944-1953 (lines=10) @@
1941
   *
1942
   * @return mixed
1943
   */
1944
  public static function filter_input_array($type, $definition = null, $add_empty = true)
1945
  {
1946
    if (2 > func_num_args()) {
1947
      $a = filter_input_array($type);
1948
    } else {
1949
      $a = filter_input_array($type, $definition, $add_empty);
1950
    }
1951
1952
    return self::filter($a);
1953
  }
1954
1955
  /**
1956
   * "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from CP-1252 when needed.
@@ 1984-1993 (lines=10) @@
1981
   *
1982
   * @return mixed
1983
   */
1984
  public static function filter_var_array($data, $definition = null, $add_empty = true)
1985
  {
1986
    if (2 > func_num_args()) {
1987
      $a = filter_var_array($data);
1988
    } else {
1989
      $a = filter_var_array($data, $definition, $add_empty);
1990
    }
1991
1992
    return self::filter($a);
1993
  }
1994
1995
  /**
1996
   * Checks if the number of Unicode characters in a string are not