diff --git a/apps/encryption/lib/Crypto/Crypt.php b/apps/encryption/lib/Crypto/Crypt.php
index 6559deb940050..57aecf9563388 100644
--- a/apps/encryption/lib/Crypto/Crypt.php
+++ b/apps/encryption/lib/Crypto/Crypt.php
@@ -459,7 +459,7 @@ protected function isValidPrivateKey($plainKey) {
* @param string $passPhrase
* @param string $cipher
* @param int $version
- * @param int $position
+ * @param int|string $position
* @return string
* @throws DecryptionFailedException
*/
diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php
index 263e9a15df897..6fa388e887594 100644
--- a/apps/encryption/lib/Crypto/Encryption.php
+++ b/apps/encryption/lib/Crypto/Encryption.php
@@ -360,7 +360,7 @@ public function encrypt($data, $position = 0) {
* decrypt data
*
* @param string $data you want to decrypt
- * @param int $position
+ * @param int|string $position
* @return string decrypted data
* @throws DecryptionFailedException
*/
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 1e0c40d7d2664..00a92a932dcc7 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -761,8 +761,6 @@
string[]
- null
- $this->circleToPrincipal($name)
null
null
null
@@ -1132,7 +1130,7 @@
$result
-
+
$position
$position
$position
@@ -1230,7 +1228,6 @@
bool
bool
bool
- bool
@@ -2327,10 +2324,6 @@
(int)$cacheBusterKey+1
-
- null
- null
-
@@ -2426,10 +2419,10 @@
string[]
- [$attr => $result['values']]
+ $e->getCode()
$key
$key
- $e->getCode()
+ [$attr => $result['values']]
$cookie
@@ -2450,9 +2443,6 @@
!is_null($attr) && !is_array($attr)
isset($ldapRecord[$this->connection->$uuidAttr])
-
- $uidsByDn
-
@@ -2481,8 +2471,7 @@
-
- 'dn'
+
$this->cachedGroupsByMember[$uid]
@@ -3105,7 +3094,6 @@
$this
- $this
@@ -3660,9 +3648,6 @@
-
- IAddressBook[]
-
bool
array
@@ -4772,14 +4757,6 @@
true
-
-
- $position
-
-
- offsetGet
-
-
false
@@ -5514,7 +5491,6 @@
$data
- $this->shareApiLinkDefaultExpireDays()
$this->shareApiLinkDefaultExpireDays()
$id
@@ -6039,6 +6015,11 @@
'DateTimeFormatter'
+
+
+ $cacheEntry
+
+
$this->request->server
@@ -6093,11 +6074,6 @@
$jobList
-
-
- IAddressBook[]
-
-
WidgetSetting
diff --git a/lib/public/Encryption/IEncryptionModule.php b/lib/public/Encryption/IEncryptionModule.php
index 7d306d3c2fedc..050cdf2555b96 100644
--- a/lib/public/Encryption/IEncryptionModule.php
+++ b/lib/public/Encryption/IEncryptionModule.php
@@ -102,7 +102,7 @@ public function encrypt($data, $position);
* decrypt data
*
* @param string $data you want to decrypt
- * @param string $position position of the block we want to decrypt
+ * @param int|string $position position of the block we want to decrypt
*
* @return mixed decrypted data
*