From 92f8f9f7da7a8f45b54af8727f04e913b890e6c6 Mon Sep 17 00:00:00 2001 From: Marius Hein Date: Thu, 6 Nov 2014 12:14:24 +0100 Subject: [PATCH] Bug7043Test: Fix declaration error ConfigWithSetModuleConfig::setModuleConfig must be compatible with Icinga\Application\Config::setModuleConfig. --- modules/monitoring/test/php/regression/Bug7043Test.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/test/php/regression/Bug7043Test.php b/modules/monitoring/test/php/regression/Bug7043Test.php index ea216d6fa..ee48ef340 100644 --- a/modules/monitoring/test/php/regression/Bug7043Test.php +++ b/modules/monitoring/test/php/regression/Bug7043Test.php @@ -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; }