diff options
Diffstat (limited to 'apps/cloud_federation_api/lib/Controller/RequestHandlerController.php')
-rw-r--r-- | apps/cloud_federation_api/lib/Controller/RequestHandlerController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php index 86af7924e6f..cbd66f52382 100644 --- a/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php +++ b/apps/cloud_federation_api/lib/Controller/RequestHandlerController.php @@ -452,7 +452,7 @@ class RequestHandlerController extends Controller { */ private function getHostFromFederationId(string $entry): string { if (!str_contains($entry, '@')) { - throw new IncomingRequestException('entry ' . $entry . ' does not contains @'); + throw new IncomingRequestException('entry ' . $entry . ' does not contain @'); } $rightPart = substr($entry, strrpos($entry, '@') + 1); |