mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 19:04:36 -04:00
minor fixes
This commit is contained in:
parent
297dc19d04
commit
65a5f0d348
@ -26,6 +26,13 @@ class HasValidPhoneNumber implements Rule
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function message()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'phone' => ctrans('texts.phone_validation_error'),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $attribute
|
* @param string $attribute
|
||||||
* @param mixed $value
|
* @param mixed $value
|
||||||
@ -68,10 +75,4 @@ class HasValidPhoneNumber implements Rule
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function messages()
|
|
||||||
{
|
|
||||||
return [
|
|
||||||
'phone' => ctrans('texts.phone_validation_error'),
|
|
||||||
];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user