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 mixed $value
|
||||
|
|
@ -68,10 +75,4 @@ class HasValidPhoneNumber implements Rule
|
|||
|
||||
}
|
||||
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'phone' => ctrans('texts.phone_validation_error'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue