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?->getKey() ?? '')], 			'allow_push_notifications' => ['boolean'], 		], $user?->user->updateProfileValidationRules($this) ?? []); 	}