diff --git a/modules/saml/lib/Message.php b/modules/saml/lib/Message.php
index 5a91a32cdebe68e7c1a75d21cec134e0358bb472..d69935c5cc92be7759a0701d66ea1c3998a035ef 100644
--- a/modules/saml/lib/Message.php
+++ b/modules/saml/lib/Message.php
@@ -244,8 +244,7 @@ class Message
      *
      * @param \SimpleSAML\Configuration $srcMetadata The metadata of the sender (IdP).
      * @param \SimpleSAML\Configuration $dstMetadata The metadata of the recipient (SP).
-     * @psalm-suppress UndefinedDocblockClass  This can be removed after upgrading to saml2v5
-     * @param \SimpleSAML\SAML2\XML\xenc\EncryptionMethod|null $encryptionMethod
+     * @param string|null $encryptionMethod
      *   The EncryptionMethod from the assertion.
      *
      * @return array Array of decryption keys.