i have mysql unique filed phone and validation method
public function validation()
{
$validator = new Validation();
$validator->add('phone', new Uniqueness([
'message' => 'phone exist',
]));
return $this->validate();
}
after post form receiving a message - Wrong number of parameters
Why?
phalcon 2.0.9