Skip to content

Commit

Permalink
Merge pull request #78 from integral-learning/75-dynamic-property-cre…
Browse files Browse the repository at this point in the history
…ation-warnings

Remove dynamic property creations
  • Loading branch information
Lyannic authored Jun 13, 2024
2 parents f05ada5 + ced915e commit 06365d2
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion classes/mumie_participants.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

defined('MOODLE_INTERNAL') || die;

use core\context\course;
use core_table\local\filter\filterset;
use core_user\table\participants_search;

Expand Down Expand Up @@ -59,10 +60,38 @@ class mumie_participants extends \table_sql {
*/
private $cmid;

/**
* The ID of the course.
*
* @var int
*/
private $courseid;

/**
* The instance of the course the table is being created for.
*
* @var \stdClass
*/
private $course;

/**
* The course context.
*
* @var course|false
*/
private $context;

/**
* An array that holds the role assignments of users.
*
* @var array
*/
private $allroleassignments;

/**
* Constructor
*
* @param string $uniqueid a string identifying this table.Used as a key in session vars.
* @param string $uniqueid a string identifying this table. Used as a key in session vars.
* @param \stdClass $mumie
* @param int $cmid
* @return void
Expand Down

0 comments on commit 06365d2

Please sign in to comment.