diff --git a/dta.zip b/dta.zip index c4aeafad02cc5f5c807c2b7c264f98588c25e477..8e1804094b0480d23171076450aa15013eda0460 100644 Binary files a/dta.zip and b/dta.zip differ diff --git a/dta/classes/privacy/provider.php b/dta/classes/privacy/provider.php index 6ad71ed5787772be714ba3373e13ec416868e1a5..d67682710b449c466d30c544b5178660d9d0df12 100644 --- a/dta/classes/privacy/provider.php +++ b/dta/classes/privacy/provider.php @@ -14,13 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. -/** - * provider for data privacy - * - * @package assignsubmission_dta - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - * @copyright Gero Lueckemeyer and student project teams - */ namespace assignsubmission_dta\privacy; use core_privacy\local\metadata\collection; @@ -44,7 +37,11 @@ class provider implements \core_privacy\local\metadata\provider, */ const ASSIGNSUBMISSION_DTA_FILEAREA_SUBMISSION = "submissions_dta"; - public static function get_metadata(collection $collection): collection { + /** + * This is the metadata information for the assignsubmission_dta plugin. + * @param stdClass $collection the collection of metadata filled by the plugin + */ + public static function get_metadata(stdClass $collection): collection { $collection->add_subsystem_link( 'core_files', [], diff --git a/dta/models/DtaResult.php b/dta/models/DtaResult.php index a06e33d2976082a5c7c3280d70fa67a020761842..592d6f0633bfeec9bdb4024e2d0b845be4ab5f94 100644 --- a/dta/models/DtaResult.php +++ b/dta/models/DtaResult.php @@ -92,8 +92,8 @@ 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 + * @param int $state number of the state + * @return string name of state as defined */ public static function getstatename(int $state): string { if ($state == 1) { @@ -188,7 +188,6 @@ class DtaResultSummary { return $ret; } - /** * Returns the number of detail results attached to the summary. * @return int count of occurences diff --git a/dta/utils/database.php b/dta/utils/database.php index d171813d39316992b8d7b33acb55db1f29b1dfe8..e9aae8333e9ff38d0234787c84942f2cb8d76cd8 100644 --- a/dta/utils/database.php +++ b/dta/utils/database.php @@ -14,6 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. +/** + * persistence layer 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 + */ + /** * persistence layer utility class *