diff --git a/public_html/valuestore/classes/valuestore.class.php b/public_html/valuestore/classes/valuestore.class.php
index cb7b5b39a5b427bcd9c3729ac345c9f7f0b34eb4..7a31931c237df38060ff7a7b9a01ae3f7a894927 100644
--- a/public_html/valuestore/classes/valuestore.class.php
+++ b/public_html/valuestore/classes/valuestore.class.php
@@ -29,7 +29,7 @@
  * 
  * Axel: <axel.hahn@unibe.ch>
  * (...)
- * 2024-08-29  Axel   php8 only; added variable types; short array syntax
+ * 2024-09-02  Axel   php8 only; added variable types; short array syntax
  */
 class valuestore
 {
@@ -402,7 +402,7 @@ class valuestore
      * @param string  $sHost     optional: hostname (for place deployed)
      * @return string
      */
-    public function setPackage(string $sPackage, string $sPhase, string $sPlace = '', string $sHost = ''): string 
+    public function setPackage(string $sPackage, string $sPhase, string $sPlace = '', string $sHost = ''): string
     {
         $this->sPackage = preg_replace('/[^a-z\-\_0-9]/', '', $sPackage);
         $this->setPhase($sPhase, $sPlace, $sHost);
@@ -418,7 +418,7 @@ class valuestore
      * @param string  $sHost     optional: hostname (for place deployed)
      * @return type string
      */
-    public function setPhase(string $sPhase, string $sPlace = '', string $sHost = ''): string 
+    public function setPhase(string $sPhase, string $sPlace = '', string $sHost = ''): string
     {
         if (!$this->sProject && !$this->sPackage) {
             $this->_quit(__FUNCTION__, "ERROR: you need to set a project. Use the setProject() method to do so.");
@@ -583,11 +583,15 @@ class valuestore
         );
     }
     /**
-     * update a version value
-     * @param type $sVersioninfos
-     * @return boolean
+     * update a version value. It returns the return value of updateVar().
+     * It returns a PDO result object.
+     * It aborts if project and package are not set
+     * It returns false on database query error
+     * 
+     * @param string $sVersioninfos  json of ci build data
+     * @return boolean|object
      */
-    public function updateVersion($sVersioninfos)
+    public function updateVersion($sVersioninfos): bool|object
     {
         return $this->updateVar('version', $sVersioninfos);
     }