mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-09 08:34:04 -04:00
`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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue