mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02: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
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user