Постарничность

This commit is contained in:
origami11 2017-05-04 15:51:19 +03:00
parent f30f7546d6
commit cc33b8f810
6 changed files with 98 additions and 3 deletions

View file

@ -3,7 +3,7 @@
/**
* Проверка формата времени
*/
class Validator_Rule_IsFile extends Rule_Abstract
class Validator_Rule_IsFile extends Validator_Rule_Abstract
{
private $type = array();
private $maxsize = 1024;

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 {