Skip to content

Commit

Permalink
Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg committed Aug 21, 2024
1 parent d50a752 commit 9e98068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected function get_javascript_strings() {
* @param \section_info $section Section currently being edited (null if none)
* @return array Array of parameters for the JavaScript function
*/
protected function get_javascript_init_params($course, \cm_info $cm = null, \section_info $section = null) {
protected function get_javascript_init_params($course, ?\cm_info $cm = null, ?\section_info $section = null) {
$context = \context_course::instance($course->id);
$participants = get_enrolled_users($context, '', 0, 'u.*', 'lastname, firstname');
$participantlist = [];
Expand Down

0 comments on commit 9e98068

Please sign in to comment.