Постарничность
This commit is contained in:
parent
f30f7546d6
commit
cc33b8f810
6 changed files with 98 additions and 3 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