diff --git a/library/Icinga/Authentication/User/DbUserBackend.php b/library/Icinga/Authentication/User/DbUserBackend.php index 6a2e2f646..8cf4f5f40 100644 --- a/library/Icinga/Authentication/User/DbUserBackend.php +++ b/library/Icinga/Authentication/User/DbUserBackend.php @@ -117,7 +117,7 @@ class DbUserBackend extends DbRepository implements UserBackendInterface, Inspec * * @return void */ - public function insert($table, array $bind) + public function insert($table, array $bind, array $types = array()) { $this->requireTable($table); $bind['created_at'] = date('Y-m-d H:i:s'); @@ -138,7 +138,7 @@ class DbUserBackend extends DbRepository implements UserBackendInterface, Inspec * @param array $bind * @param Filter $filter */ - public function update($table, array $bind, Filter $filter = null) + public function update($table, array $bind, Filter $filter = null, array $types = array()) { $this->requireTable($table); $bind['last_modified'] = date('Y-m-d H:i:s'); diff --git a/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php b/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php index a76f6c930..04b556ade 100644 --- a/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php +++ b/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php @@ -133,7 +133,7 @@ class DbUserGroupBackend extends DbRepository implements Inspectable, UserGroupB * @param string $table * @param array $bind */ - public function insert($table, array $bind) + public function insert($table, array $bind, array $types = array()) { $bind['created_at'] = date('Y-m-d H:i:s'); parent::insert($table, $bind); @@ -146,7 +146,7 @@ class DbUserGroupBackend extends DbRepository implements Inspectable, UserGroupB * @param array $bind * @param Filter $filter */ - public function update($table, array $bind, Filter $filter = null) + public function update($table, array $bind, Filter $filter = null, array $types = array()) { $bind['last_modified'] = date('Y-m-d H:i:s'); parent::update($table, $bind, $filter); diff --git a/library/Icinga/Web/Form/Element/Note.php b/library/Icinga/Web/Form/Element/Note.php index 5344fb31c..9569dee55 100644 --- a/library/Icinga/Web/Form/Element/Note.php +++ b/library/Icinga/Web/Form/Element/Note.php @@ -48,7 +48,7 @@ class Note extends FormElement * * @return bool Always true */ - public function isValid($value) + public function isValid($value, $context = null) { return true; }