MDL-81634 core: Fix all implicitly defined nullables

Note: This does not impact third-party libraries.
This commit is contained in:
Andrew Nicols
2024-08-02 14:11:12 +08:00
parent 8a6e8563fd
commit 024e36be17
391 changed files with 782 additions and 782 deletions
+2 -2
View File
@@ -1395,7 +1395,7 @@ class completion_info {
* @return array Array of user objects with user fields (including all identity fields)
*/
public function get_tracked_users($where = '', $whereparams = array(), $groupid = 0,
$sort = '', $limitfrom = '', $limitnum = '', context $extracontext = null) {
$sort = '', $limitfrom = '', $limitnum = '', ?context $extracontext = null) {
global $DB;
@@ -1447,7 +1447,7 @@ class completion_info {
* containing an additional ->progress array of coursemoduleid => completionstate
*/
public function get_progress_all($where = '', $where_params = array(), $groupid = 0,
$sort = '', $pagesize = '', $start = '', context $extracontext = null) {
$sort = '', $pagesize = '', $start = '', ?context $extracontext = null) {
global $CFG, $DB;
// Get list of applicable users