Bug7043Test: Fix declaration error

ConfigWithSetModuleConfig::setModuleConfig must be compatible with
Icinga\Application\Config::setModuleConfig.
This commit is contained in:
Marius Hein 2014-11-06 12:14:24 +01:00
parent f8724c504b
commit 92f8f9f7da
1 changed files with 2 additions and 1 deletions

View File

@ -10,11 +10,12 @@ use Icinga\Application\Config;
use Icinga\Module\Monitoring\Backend; use Icinga\Module\Monitoring\Backend;
use Icinga\Test\BaseTestCase; use Icinga\Test\BaseTestCase;
use Mockery; use Mockery;
use Zend_Config;
class ConfigWithSetModuleConfig extends 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; static::$modules[$moduleName][$configName] = $config;
} }