mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Fix incompatible declaration of Form::setDefaults()
PHP with strict standards: Declaration of Icinga\Web\Form::setDefaults() should be compatible with that of Zend_Form::setDefaults() refs #5525
This commit is contained in:
parent
930e6e7d71
commit
12b4865559
@ -467,7 +467,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(array $defaults)
|
public function setDefaults($defaults)
|
||||||
{
|
{
|
||||||
$this->create($defaults);
|
$this->create($defaults);
|
||||||
return parent::setDefaults($defaults);
|
return parent::setDefaults($defaults);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user