diff --git a/dta.zip b/dta.zip
index 1bd75c975448401504ff29c99df5ee9695cad245..1dc2cab2e4b76667b091b2d6c98f629ee9e195a3 100644
Binary files a/dta.zip and b/dta.zip differ
diff --git a/dta/models/DtaResult.php b/dta/models/DtaResult.php
index 13ff01254e2876455708650dcb8dc02f22026103..85e1ee7ac854335464a7604f502be043f3cc366c 100644
--- a/dta/models/DtaResult.php
+++ b/dta/models/DtaResult.php
@@ -14,6 +14,13 @@
 // You should have received a copy of the GNU General Public License
 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 
+/**
+ * entity classes for DTA submission plugin result summary and test results
+ *
+ * @package assignsubmission_dta
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ * @copyright Gero Lueckemeyer and student project teams
+ */
 defined('MOODLE_INTERNAL') || die();
 
 /**
@@ -85,6 +92,7 @@ class DtaResult {
 
     /**
      * Returns the name of a state with the given number of display.
+     * @param $state number of the state
      * @return name of state as defined
      */
     public static function getstatename(int $state): string {
diff --git a/dta/utils/backend.php b/dta/utils/backend.php
index 772e7353bac3c828e153fd51089c6b6f3d797a89..a881f9ff32548dfba4bff5655fde61bc109fb781 100644
--- a/dta/utils/backend.php
+++ b/dta/utils/backend.php
@@ -21,14 +21,14 @@
  * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  * @copyright Gero Lueckemeyer and student project teams
  */
- 
+
 /**
  * backend webservice contact utility class
  *
  * @package assignsubmission_dta
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  * @copyright Gero Lueckemeyer and student project teams
- */ 
+ */
 class DtaBackendUtils {
 
     /**
diff --git a/dta/utils/database.php b/dta/utils/database.php
index 1877851a6dd5c3a17c27e39eeb21ec2e191fc73a..8d54c0607fc2b1c56b807cb410689d1fb096ecc7 100644
--- a/dta/utils/database.php
+++ b/dta/utils/database.php
@@ -20,7 +20,7 @@
  * @package assignsubmission_dta
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  * @copyright Gero Lueckemeyer and student project teams
- */ 
+ */
 class DbUtils {
 
     /**
diff --git a/dta/utils/view.php b/dta/utils/view.php
index 14d5e44950c361fac9fa887e1b0edce1fb3e4fc9..34d0881ca2a56ac8681547a173f3a72cc1b2bd88 100644
--- a/dta/utils/view.php
+++ b/dta/utils/view.php
@@ -74,7 +74,7 @@ class view_submission_utils {
             $comp = $overallcompetencies[$index];
             // If the competency was actually assessed by the assignment and tests, add a summary entry.
             if ($shown != "0") {
-                $tmp .= get_string("comp" . $index, self::COMPONENT_NAME) . 
+                $tmp .= get_string("comp" . $index, self::COMPONENT_NAME) .
                 " " . 100 * floatval($shown) / floatval($comp) . "% " . "<br />";
             }
         }
@@ -237,7 +237,7 @@ class view_submission_utils {
             $comp = $overallcompetencies[$index];
             $shown = $showncompetencies[$index];
             // If the competency was actually assessed by the assignment and tests, add a row in the table.
-            if($comp != "0") {
+            if ($comp != "0") {
                 // New copy of base attributes array.
                 $resultrowattributes = $tablerowattributes;
                 $tmp = "";
@@ -299,7 +299,7 @@ class view_submission_utils {
                 "td",
                 get_string("unit_name", self::COMPONENT_NAME),
                 $attributes);
-                
+
             $tmp .= html_writer::tag(
                 "td",
                 $r->classname,