From 5ba96c32f90a4ae502c817f35b26dfe229790bfa Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 19 Sep 2014 12:59:01 +0200 Subject: [PATCH] `Form::setDefaults()' fix strict standards violation Declaration of Icinga\Web\Form::setDefaults() should be compatible with that of Zend_Form::setDefaults(). --- library/Icinga/Web/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index dde9db41c..1a9cb5b97 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -491,7 +491,7 @@ class Form extends Zend_Form * * @param array $defaults The values to populate the elements with */ - public function setDefaults($defaults) + public function setDefaults(array $defaults) { $this->create($defaults); return parent::setDefaults($defaults);