Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFTSoftwareProject
MoodleDTA
Commits
4ec522ff
Commit
4ec522ff
authored
Dec 29, 2023
by
Lückemeyer
Browse files
removed int param type in overridden method
parent
c3f1650d
Pipeline
#9009
passed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dta.zip
View file @
4ec522ff
No preview for this file type
dta/locallib.php
View file @
4ec522ff
...
...
@@ -174,7 +174,7 @@ class assign_submission_dta extends assign_submission_plugin {
* @param int $userid current user
* @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.
$data
=
file_prepare_standard_filemanager
(
$data
,
...
...
@@ -228,7 +228,7 @@ class assign_submission_dta extends assign_submission_plugin {
* @param string $areaid filearea id to count
* @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
();
$files
=
$fs
->
get_area_files
(
$this
->
assignment
->
get_context
()
->
id
,
self
::
COMPONENT_NAME
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment