Merge branch 'master' of http://gitlab.edu.yar.ru/composer/PHP_Library
This commit is contained in:
commit
513cbfafdd
8 changed files with 142 additions and 13 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue