1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

minor fixes

This commit is contained in:
David Bomba 2022-11-03 09:06:14 +11:00
parent 297dc19d04
commit 65a5f0d348

View File

@ -26,6 +26,13 @@ class HasValidPhoneNumber implements Rule
{
}
public function message()
{
return [
'phone' => ctrans('texts.phone_validation_error'),
];
}
/**
* @param string $attribute
* @param mixed $value
@ -68,10 +75,4 @@ class HasValidPhoneNumber implements Rule
}
public function messages()
{
return [
'phone' => ctrans('texts.phone_validation_error'),
];
}
}