Code Duplication    Length = 10-10 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 1696-1705 (lines=10) @@
1693
   * fails.
1694
   * @since 5.2.0
1695
   */
1696
  public static function filter_input_array($type, $definition = null, $add_empty = true)
1697
  {
1698
    if (2 > func_num_args()) {
1699
      $a = filter_input_array($type);
1700
    } else {
1701
      $a = filter_input_array($type, $definition, $add_empty);
1702
    }
1703
1704
    return self::filter($a);
1705
  }
1706
1707
  /**
1708
   * "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed.
@@ 1811-1820 (lines=10) @@
1808
   * the variable is not set.
1809
   * @since 5.2.0
1810
   */
1811
  public static function filter_var_array($data, $definition = null, $add_empty = true)
1812
  {
1813
    if (2 > func_num_args()) {
1814
      $a = filter_var_array($data);
1815
    } else {
1816
      $a = filter_var_array($data, $definition, $add_empty);
1817
    }
1818
1819
    return self::filter($a);
1820
  }
1821
1822
  /**
1823
   * Check if the number of unicode characters are not more than the specified integer.