Commit 16cb4aa6 authored by Lückemeyer's avatar Lückemeyer
Browse files

fixed comments & parameters

parent 9ee06da5
Pipeline #9011 passed with stage
No preview for this file type
...@@ -48,8 +48,8 @@ class DtaBackendUtils { ...@@ -48,8 +48,8 @@ class DtaBackendUtils {
/** /**
* Sends the configuration textfile uploaded by prof to the backend. * Sends the configuration textfile uploaded by prof to the backend.
* *
* @param $assignment assignment this test-config belongs to * @param stdClass $assignment assignment this test-config belongs to
* @param $file uploaded test-config * @param stdClass $file uploaded test-config
* @return bool true if no error occurred * @return bool true if no error occurred
*/ */
public static function sendtestconfigtobackend($assignment, $file): bool { public static function sendtestconfigtobackend($assignment, $file): bool {
...@@ -76,10 +76,10 @@ class DtaBackendUtils { ...@@ -76,10 +76,10 @@ class DtaBackendUtils {
} }
/** /**
* Sends sumbission config or archive to backend to be tested. * Sends submission config or archive to backend to be tested.
* *
* @param $assignment assignment this submission is done for * @param stdClass $assignment assignment for the submission
* @param $file submission config file or archive with submission * @param stdClass $file submission config file or archive with submission
* @return string json string with testresults or null on error * @return string json string with testresults or null on error
*/ */
public static function sendsubmissiontobackend($assignment, $file): ?string { public static function sendsubmissiontobackend($assignment, $file): ?string {
......
...@@ -88,9 +88,9 @@ class DbUtils { ...@@ -88,9 +88,9 @@ class DbUtils {
* save given result summary and single results to database * save given result summary and single results to database
* under given assignment and submission id * under given assignment and submission id
* *
* @param $assignmentid assigment this is submission is linked to * @param int $assignmentid assigment this is submission is linked to
* @param $submissionid submission of this result * @param int $submissionid submission of this result
* @param $summary instance to persist * @param DtaResultSummary $summary instance to persist
*/ */
public static function storeresultsummarytodatabase( public static function storeresultsummarytodatabase(
int $assignmentid, int $assignmentid,
......
...@@ -28,6 +28,13 @@ use core_privacy\local\request\writer; ...@@ -28,6 +28,13 @@ use core_privacy\local\request\writer;
use core_privacy\local\request\contextlist; use core_privacy\local\request\contextlist;
use mod_assign\privacy\assign_plugin_request_data; use mod_assign\privacy\assign_plugin_request_data;
/**
* 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
*/
class provider implements \core_privacy\local\metadata\provider, class provider implements \core_privacy\local\metadata\provider,
\mod_assign\privacy\assignsubmission_provider, \mod_assign\privacy\assignsubmission_provider,
\mod_assign\privacy\assignsubmission_user_provider { \mod_assign\privacy\assignsubmission_user_provider {
......
...@@ -31,8 +31,8 @@ class view_submission_utils { ...@@ -31,8 +31,8 @@ class view_submission_utils {
/** /**
* generates a short summary html * generates a short summary html
* *
* @param $assignmentid assignment * @param int $assignmentid assignment
* @param $submissionid submission to create a report for * @param int $submissionid submission to create a report for
* @return string html * @return string html
*/ */
public static function generatesummaryhtml( public static function generatesummaryhtml(
...@@ -87,8 +87,8 @@ class view_submission_utils { ...@@ -87,8 +87,8 @@ class view_submission_utils {
/** /**
* generates detailed view html * generates detailed view html
* *
* @param $assignmentid assignment * @param int $assignmentid assignment
* @param $submissionid submission to create a report for * @param int $submissionid submission to create a report for
*/ */
public static function generatedetailhtml( public static function generatedetailhtml(
int $assignmentid, int $assignmentid,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment