aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Federation/CloudIdManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Federation/CloudIdManager.php')
-rw-r--r--lib/private/Federation/CloudIdManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Federation/CloudIdManager.php b/lib/private/Federation/CloudIdManager.php
index 9c877c5efc7..6d4df7a66c5 100644
--- a/lib/private/Federation/CloudIdManager.php
+++ b/lib/private/Federation/CloudIdManager.php
@@ -51,9 +51,9 @@ class CloudIdManager implements ICloudIdManager {
if ($posSlash === false && $posColon === false) {
$invalidPos = \strlen($id);
- } else if ($posSlash === false) {
+ } elseif ($posSlash === false) {
$invalidPos = $posColon;
- } else if ($posColon === false) {
+ } elseif ($posColon === false) {
$invalidPos = $posSlash;
} else {
$invalidPos = min($posSlash, $posColon);