Skip to content

Commit

Permalink
Bug7043Test: Fix declaration error
Browse files Browse the repository at this point in the history
ConfigWithSetModuleConfig::setModuleConfig must be compatible with
Icinga\Application\Config::setModuleConfig.
  • Loading branch information
mxhash committed Nov 6, 2014
1 parent f8724c5 commit 92f8f9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/monitoring/test/php/regression/Bug7043Test.php
Expand Up @@ -10,11 +10,12 @@
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;
}
Expand Down

0 comments on commit 92f8f9f

Please sign in to comment.