This commit is contained in:
nurmuhammet committed 2024-09-09 21:51:40 +05:00
1 parent fc697f6318
commit bd992d87fb
7 files changed
+72 -6

No files matched your search

@@ -21,6 +21,13 @@ public function rules(): array
* @example 65707012
*/
'phone' => ['required', 'integer', 'between:61000000,71999999'],
/**
* User's password
*
* @example MahmytAllaberdiyevPassword
*/
'password' => ['required', 'string', 'max:255'],
];
}
}
@@ -17,7 +17,6 @@ public function rules(): array
/**
* Phone number to authenticate
*
* @var int
* @example 65707012
*/
'phone' => ['required', 'integer', 'between:61000000,71999999', 'unique:users,phone'],
@@ -25,10 +24,16 @@ public function rules(): array
/**
* User's name
*
* @var string
* @example Mahmyt Allaberdiyev
*/
'name' => ['required', 'string', 'max:255'],
/**
* User's password
*
* @example MahmytAllaberdiyevPassword
*/
'password' => ['required', 'string', 'max:255'],
];
}
}