mirror of
https://github.com/Respect/Validation.git
synced 2024-06-07 08:12:16 +02:00
Fix strict standards on KeySet rule
An overwritten method must have the same signature of the parent method.
This commit is contained in:
parent
7d9d19009a
commit
418935c206
|
@ -40,7 +40,7 @@ class KeySet extends AllOf
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function addRule($rule)
|
||||
public function addRule($rule, $arguments = array())
|
||||
{
|
||||
if ($rule instanceof AllOf) {
|
||||
$rule = $this->filterAllOf($rule);
|
||||
|
|
Loading…
Reference in a new issue