Skip to content

Commit

Permalink
Code checker updates WIP 2
Browse files Browse the repository at this point in the history
  • Loading branch information
james-cnz committed Jun 9, 2024
1 parent d8f0770 commit a4a7a23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion classes/global_navigation_wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function load_generic_course_sections(\stdClass $course, \navigation_node
* @param \navigation_node $sectionnode
* @param \section_info $section
* @param array $activities An array of activites as returned by see global_navigation::generate_sections_and_activities()
* @param \stdClass $course The course object the section and activities relate to.
* @param \stdClass|null $course The course object the section and activities relate to.
* @return array Array of activity nodes
*/
protected function load_section_activities(\navigation_node $sectionnode, \section_info $section, array $activities,
Expand Down
4 changes: 2 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ public function set_sections_preference(string $preferencename, array $sectionid
/**
* Set and return the format section preferences.
*
* @param string $preferencename preference name
* @param int[] $sectionids affected section IDs
* @param string|null $preferencename preference name
* @param int[]|null $sectionids affected section IDs
* @return array of preferences indexed by section ID
*
*/
Expand Down

0 comments on commit a4a7a23

Please sign in to comment.