refactor: standardize protocol

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-02-25 00:16:38 -05:00
parent 146afd91fc
commit f52aa2e64f
2 changed files with 25 additions and 25 deletions

View File

@@ -217,7 +217,7 @@ class Manager {
// retrieve provider and service
$provider = $this->providerFetch($tenantId, $userId, $providerId);
if ($provider instanceof ProviderServiceMutateInterface === false) {
throw new InvalidArgumentException("Provider '$providerId' does not support service creation");
throw new InvalidArgumentException("Provider '$providerId' does not support service modification");
}
// Fetch existing service