mirror of
https://github.com/Respect/Validation.git
synced 2024-06-27 17:50:13 +02:00
commit
892d39a95a
|
@ -21,7 +21,7 @@ class Not extends AbstractRule
|
|||
|
||||
public function validate($input)
|
||||
{
|
||||
if ($rule instanceof AbstractComposite)
|
||||
if ($this->rule instanceof AbstractComposite)
|
||||
return $this->rule->validate($input);
|
||||
|
||||
return!$this->rule->validate($input);
|
||||
|
|
Loading…
Reference in a new issue