summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-03-03 21:32:54 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-03-04 09:29:56 +0000
commit75326f714993a453475b1d239450cb6fb824e9a6 (patch)
tree8be503b424e14249595a6f20311ee5bb9ebf14d8
parent85e7dc4403c176bb268648c66b03c4120f16a5fc (diff)
downloadnextcloud-server-75326f714993a453475b1d239450cb6fb824e9a6.tar.gz
nextcloud-server-75326f714993a453475b1d239450cb6fb824e9a6.zip
code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--apps/user_ldap/lib/Migration/Version1130Date20211102154716.php4
1 files 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<string>
* @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)