`Form::setDefaults()' fix strict standards violation

Declaration of Icinga\Web\Form::setDefaults() should be compatible with that of Zend_Form::setDefaults().
This commit is contained in:
Eric Lippmann 2014-09-19 12:59:01 +02:00
parent 7eb51f6367
commit 5ba96c32f9
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ class Form extends Zend_Form
* *
* @param array $defaults The values to populate the elements with * @param array $defaults The values to populate the elements with
*/ */
public function setDefaults($defaults) public function setDefaults(array $defaults)
{ {
$this->create($defaults); $this->create($defaults);
return parent::setDefaults($defaults); return parent::setDefaults($defaults);