diff --git a/composer.lock b/composer.lock
index 9cd952bebea580e0bbf1ac3f2759cebdb17895e9..8bd51e811172c71dac8e261d868e08a2e610590b 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "88613b7122ef0ac8c71e58873a683965",
+    "content-hash": "499ed983a7e8abed35ed5ab324abc681",
     "packages": [
         {
             "name": "gettext/gettext",
diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index 9c721884fc4deead3480bc3490d325afa96d49e8..401fd6ade6777427523960471778c80236a4603f 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -200,11 +200,11 @@ class Session implements Utils\ClearableState
 
 
     /**
-     * Serialize this XML chunk.
+     * Serialize this Session.
      *
      * This method will be invoked by any calls to serialize().
      *
-     * @return array The serialized representation of this XML object.
+     * @return array The serialized representation of this Session.
      */
     public function __serialize(): array
     {