From d5695b5b8f6f40f0e752ba4906de065159a1e0ea Mon Sep 17 00:00:00 2001 From: AL Rachels Date: Sat, 5 Mar 2022 13:16:47 -0600 Subject: [PATCH] Update provider.php --- classes/privacy/provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php index f953e77..8ef11a0 100644 --- a/classes/privacy/provider.php +++ b/classes/privacy/provider.php @@ -87,7 +87,7 @@ public static function get_metadata(collection $collection) { * @param int $userid the userid. * @return contextlist the list of contexts containing user info for the user. */ - public static function get_contexts_for_userid($userid) { + public static function get_contexts_for_userid(int $userid) { $contextlist = new \core_privacy\local\request\contextlist(); $sql = "SELECT c.id