mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 10:40:24 +02:00
be-gane you nasty evil whitespace, flee
This commit is contained in:
parent
dca743e94d
commit
52b3252f0f
|
@ -90,12 +90,12 @@ class Validator extends AllOf
|
|||
{
|
||||
if ('not' === $method)
|
||||
return $arguments ? static::buildRule($method, $arguments) : new Rules\Not($this);
|
||||
|
||||
if (isset($method{4}) &&
|
||||
|
||||
if (isset($method{4}) &&
|
||||
substr($method, 0, 4) == 'base' && preg_match('@^base([0-9]{1,2})$@', $method, $match))
|
||||
return $this->addRule(static::buildRule('base', array($match[1])));
|
||||
|
||||
|
||||
|
||||
|
||||
return $this->addRule(static::buildRule($method, $arguments));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue