Skip to content

Commit

Permalink
variable type docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
Dagefoerde committed Nov 21, 2018
1 parent e03adce commit 89b5639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions block_groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private function get_content_teaching() {
// Array to save all groupings.
$allgroupings = groups_get_all_groupings($courseid);
$content = '';
/* @var $renderer block_groups_renderer*/
/* @var $renderer block_groups_renderer */
$renderer = $PAGE->get_renderer('block_groups');
// Calls Javascript if available.
$PAGE->requires->js_call_amd('block_groups/blocks_groups_visibility', 'initialise', array($courseid));
Expand Down Expand Up @@ -145,7 +145,7 @@ private function get_content_groupmembers() {
$allgroups = groups_get_my_groups();
// Necessary to show hidden groups to Course Managers.
$access = has_capability('moodle/course:managegroups', context_course::instance($COURSE->id));
/* @var $renderer block_groups_renderer*/
/* @var $renderer block_groups_renderer */
$renderer = $PAGE->get_renderer('block_groups');
foreach ($allgroups as $group) {
if (($group->courseid == $COURSE->id)) {
Expand Down Expand Up @@ -174,7 +174,7 @@ private function get_content_groupmembers() {
*/
public function build_grouping_array($allgroupings, $courseid) {
global $PAGE;
/* @var $renderer block_groups_renderer*/
/* @var $renderer block_groups_renderer */
$renderer = $PAGE->get_renderer('block_groups');
$groupingsarray = array();
$arrayofmembers = count_grouping_members($courseid);
Expand Down

0 comments on commit 89b5639

Please sign in to comment.