Code Duplication    Length = 3-3 lines in 3 locations

core/EE_Config.core.php 3 locations

@@ 862-864 (lines=3) @@
859
        // ensure config class is set to something
860
        $config_class = $this->_set_config_class($config_class, $name);
861
        // run tests 1-4, 6 and 7 to verify that all params have been set
862
        if (! $this->_verify_config_params($section, $name, $config_class, null, array(1, 2, 3, 4, 5, 6))) {
863
            return null;
864
        }
865
        // now test if the requested config object exists, but suppress errors
866
        if ($this->_verify_config_params($section, $name, $config_class, null, array(7, 8), false)) {
867
            // config already exists, so pass it back
@@ 741-743 (lines=3) @@
738
        // ensure config class is set to something
739
        $config_class = $this->_set_config_class($config_class, $name);
740
        // run tests 1-4, 6, and 7 to verify all config params are set and valid
741
        if (! $this->_verify_config_params($section, $name, $config_class, null, array(1, 2, 3, 4, 5, 6))) {
742
            return null;
743
        }
744
        $config_option_name = $this->_generate_config_option_name($section, $name);
745
        // if the config option name hasn't been added yet to the list of option names we're tracking, then do so now
746
        if (! isset($this->_addon_option_names[ $config_option_name ])) {
@@ 798-800 (lines=3) @@
795
        // get class name of the incoming object
796
        $config_class = get_class($config_obj);
797
        // run tests 1-5 and 9 to verify config
798
        if (! $this->_verify_config_params(
799
            $section,
800
            $name,
801
            $config_class,
802
            $config_obj,
803
            array(1, 2, 3, 4, 7, 9)