This commit is contained in:
origami11 2017-06-06 10:16:56 +03:00
commit 513cbfafdd
8 changed files with 142 additions and 13 deletions

View file

@ -68,7 +68,7 @@ class Validator_Validator
}
}
public function addRule(/*.any.*/&$rule) {
public function addRule(/*.any.*/$rule) {
if (is_array($rule)) {
$this->chain = array_merge($this->chain, $rule);
} else {