Nothing really

This commit is contained in:
Alexandre Gomes Gaigalas 2010-09-26 03:18:40 -03:00
parent b43371315a
commit 8651990e17
2 changed files with 4 additions and 5 deletions

View file

@ -2,8 +2,8 @@
namespace Respect\Validation\Exceptions;
use InvalidArgumentException;
use Exception;
use InvalidArgumentException;
class InvalidException extends InvalidArgumentException
{

View file

@ -46,11 +46,10 @@ class Validator extends All
protected function applyParts($parts)
{
foreach ($parts as $a) {
if (!isset($this->ruleName)) {
if (!isset($this->ruleName))
$this->setRuleName($a);
continue;
}
$this->addArgument($a);
else
$this->addArgument($a);
}
$this->checkForCompleteRule();
}