Someone can guide me to allow just null emails or correct ones? Phalcon 3, PHP7
My code:
public function validation()
{
$validator = new Validation();
$validator->add(
'email',
new EmailValidator()
);
return $this->validate($validator);
}