From 16b6504cc6f65667da4b596cfdbf4f1157190b72 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 3 Mar 2022 21:32:54 +0100 Subject: [PATCH] code style Signed-off-by: Arthur Schiwon --- .../user_ldap/lib/Migration/Version1130Date20211102154716.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php index 03106b635bb..2cca72ac493 100644 --- a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php +++ b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php @@ -112,7 +112,7 @@ class Version1130Date20211102154716 extends SimpleMigrationStep { $table->addUniqueIndex(['directory_uuid'], 'ldap_user_directory_uuid'); $changeSchema = true; } - } else if (!$schema->hasTable('ldap_group_mapping_backup')) { + } elseif (!$schema->hasTable('ldap_group_mapping_backup')) { // We need to copy the table twice to be able to change primary key, prepare the backup table $table2 = $schema->createTable('ldap_group_mapping_backup'); $table2->addColumn('ldap_dn', Types::STRING, [ @@ -270,7 +270,7 @@ class Version1130Date20211102154716 extends SimpleMigrationStep { * @return Generator * @throws \OCP\DB\Exception */ - protected function getDuplicatedUuids(string $table): Generator{ + protected function getDuplicatedUuids(string $table): Generator { $select = $this->dbc->getQueryBuilder(); $select->select('directory_uuid') ->from($table) -- 2.39.5