mirror of
https://github.com/Respect/Validation.git
synced 2024-06-22 07:16:32 +02:00
Nothing really
This commit is contained in:
parent
b43371315a
commit
8651990e17
|
@ -2,8 +2,8 @@
|
|||
|
||||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class InvalidException extends InvalidArgumentException
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue