bega updates

This commit is contained in:
Mekan1206 committed 2026-07-21 21:30:27 +05:00
1 parent 6093a45761
commit db94922e9a
22 files changed
+1033 -26

No files matched your search

@@ -2,15 +2,24 @@
namespace App\Http\Controllers\Api\V1\Auth\Register;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class AuthRegisterRequest extends FormRequest
{
/**
* Prepare the data for validation.
*/
protected function prepareForValidation(): void
{
$this->merge([
'phone_number' => normalizeTurkmenPhoneNumber($this->phone_number),
]);
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, ValidationRule|array|string>
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array|string>
*/
public function rules(): array
{