`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:
parent
7eb51f6367
commit
5ba96c32f9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue