Fix strict standards on KeySet rule

An overwritten method must have the same signature of the parent method.
This commit is contained in:
Henrique Moody 2015-07-28 17:04:09 -03:00
parent 7d9d19009a
commit 418935c206

View file

@ -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);