aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-01-11 14:15:16 +0100
committerGitHub <noreply@github.com>2021-01-11 14:15:16 +0100
commit5ed673e5ebd20884f183cf00bee5cc8938a1d7be (patch)
treef28a8b0949fb18a94584dcf016d7e78fb2ceebd8 /core/Migrations
parent683685b72c90a892904026560ac4eba740d20382 (diff)
parent24d436cb600a725ba162a5387552a996a6fc486f (diff)
downloadnextcloud-server-5ed673e5ebd20884f183cf00bee5cc8938a1d7be.tar.gz
nextcloud-server-5ed673e5ebd20884f183cf00bee5cc8938a1d7be.zip
Merge pull request #25073 from nextcloud/psalm/24521/remove-unneeded-casts
Remove unneeded casts that were found by Psalm
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version13000Date20170718121200.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index 41492905a04..f85b379f89e 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -1031,7 +1031,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$insert->setParameter('propertypath', (string) $row['propertypath'])
->setParameter('propertyname', (string) $row['propertyname'])
->setParameter('propertyvalue', (string) $row['propertyvalue'])
- ->setParameter('userid', (string) ($match[2] ?? ''));
+ ->setParameter('userid', ($match[2] ?? ''));
$insert->execute();
}
}