public function rules(): array 	{ 		$user = $this->user();  		return array_replace([ 			'name' => ['required', 'string', 'max:50'], 			'email' => ['required', 'max:50', 'email', 'unique:' . ($user ? $user::class : User::class) . ',email,' . ($user->id ?? '')], 			'allow_push_notifications' => ['boolean'], 		], $user?->user->updateProfileValidationRules($this) ?? []); 	}