Bug7043Test: Fix declaration error
ConfigWithSetModuleConfig::setModuleConfig must be compatible with Icinga\Application\Config::setModuleConfig.
This commit is contained in:
parent
f8724c504b
commit
92f8f9f7da
|
@ -10,11 +10,12 @@ use Icinga\Application\Config;
|
|||
use Icinga\Module\Monitoring\Backend;
|
||||
use Icinga\Test\BaseTestCase;
|
||||
use Mockery;
|
||||
use Zend_Config;
|
||||
|
||||
|
||||
class ConfigWithSetModuleConfig extends Config
|
||||
{
|
||||
public static function setModuleConfig($moduleName, $configName, $config)
|
||||
public static function setModuleConfig($moduleName, $configName, Zend_Config $config)
|
||||
{
|
||||
static::$modules[$moduleName][$configName] = $config;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue