aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Accounts/AccountManager.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-06-03 21:55:57 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-06-04 19:57:00 +0200
commit35d5395089e17e2402e4786c25f0ba915b924773 (patch)
tree5b3345ca6e725955cab09fbd61095e4fbb6b86ab /lib/private/Accounts/AccountManager.php
parent8ec640d14ac6dec7c6f52ac8bca997615931478b (diff)
downloadnextcloud-server-35d5395089e17e2402e4786c25f0ba915b924773.tar.gz
nextcloud-server-35d5395089e17e2402e4786c25f0ba915b924773.zip
psalm happiness
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> psalm happiness Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Accounts/AccountManager.php')
-rw-r--r--lib/private/Accounts/AccountManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php
index 801250004fb..4d7aae644bb 100644
--- a/lib/private/Accounts/AccountManager.php
+++ b/lib/private/Accounts/AccountManager.php
@@ -142,7 +142,7 @@ class AccountManager implements IAccountManager {
}
protected function sanitizeLength(array &$propertyData, bool $throwOnData = false): void {
- if (isset($propertyData) && isset($propertyData['value']) && strlen($propertyData['value']) > 2048) {
+ if (isset($propertyData['value']) && strlen($propertyData['value']) > 2048) {
if ($throwOnData) {
throw new \InvalidArgumentException();
} else {