This commit is contained in:
nurmuhammet committed 2023-12-02 14:51:46 +05:00
1 parent 07eb044a2b
commit 39e1f92503
1 file changed
+1 -1
@@ -62,7 +62,7 @@ public function register(Request $request)
*/ */
protected function validator(array $data) protected function validator(array $data)
{ {
$data['phone'] = unMaskPhone($data); $data['phone'] = unMaskPhone($data['phone']);
return Validator::make($data, [ return Validator::make($data, [
'name' => ['required', 'string', 'max:255'], 'name' => ['required', 'string', 'max:255'],