Commit 4ec522ff authored by Lückemeyer's avatar Lückemeyer
Browse files

removed int param type in overridden method

parent c3f1650d
Pipeline #9009 passed with stage
No preview for this file type
...@@ -174,7 +174,7 @@ class assign_submission_dta extends assign_submission_plugin { ...@@ -174,7 +174,7 @@ class assign_submission_dta extends assign_submission_plugin {
* @param int $userid current user * @param int $userid current user
* @return bool form elements added * @return bool form elements added
*/ */
public function get_form_elements_for_user($submissionorgrade, MoodleQuickForm $mform, stdClass $data, int $userid): bool { public function get_form_elements_for_user($submissionorgrade, MoodleQuickForm $mform, stdClass $data, $userid): bool {
// Prepare submission filearea. // Prepare submission filearea.
$data = file_prepare_standard_filemanager( $data = file_prepare_standard_filemanager(
$data, $data,
...@@ -228,7 +228,7 @@ class assign_submission_dta extends assign_submission_plugin { ...@@ -228,7 +228,7 @@ class assign_submission_dta extends assign_submission_plugin {
* @param string $areaid filearea id to count * @param string $areaid filearea id to count
* @return int number of files submitted in the filearea * @return int number of files submitted in the filearea
*/ */
private function count_files(int $submissionid, string $areaid) { private function count_files(int $submissionid, $areaid) {
$fs = get_file_storage(); $fs = get_file_storage();
$files = $fs->get_area_files($this->assignment->get_context()->id, $files = $fs->get_area_files($this->assignment->get_context()->id,
self::COMPONENT_NAME, self::COMPONENT_NAME,
......
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