chore: remove unused functions

This commit is contained in:
Maël Gangloff
2025-02-22 23:50:58 +01:00
parent 5e1c84bb80
commit d2118ea7fd
2 changed files with 0 additions and 35 deletions

View File

@@ -107,20 +107,6 @@ class NamecheapProvider extends AbstractProvider
return $data->CommandResponse;
}
public function verifySpecificAuthData(array $authData): array
{
foreach (['ApiUser', 'ApiKey'] as $key) {
if (empty($authData[$key]) || !is_string($authData[$key])) {
throw new BadRequestHttpException("Bad authData schema: missing or invalid '$key'");
}
}
return [
'ApiUser' => $authData['ApiUser'],
'ApiKey' => $authData['ApiKey'],
];
}
/**
* @throws TransportExceptionInterface
* @throws ServerExceptionInterface