MDL-80820 various: fix incorrect phpdocs

This commit is contained in:
Marina Glancy
2024-04-08 10:13:10 +01:00
parent 26649f5750
commit ef1759da74
53 changed files with 239 additions and 245 deletions
+2 -2
View File
@@ -495,7 +495,7 @@ function question_delete_course_category($category, $newcategory, $notused=false
* Creates a new category to save the questions in use.
*
* @param array $questionids of question ids
* @param object $newcontextid the context to create the saved category in.
* @param int $newcontextid the context to create the saved category in.
* @param string $oldplace a textual description of the think being deleted,
* e.g. from get_context_name
* @param object $newcategory
@@ -1506,7 +1506,7 @@ function question_require_capability_on($question, $cap): bool {
* Gets the question edit url.
*
* @param object $context a context
* @return string|bool A URL for editing questions in this context.
* @return string|bool|void A URL for editing questions in this context.
*/
function question_edit_url($context) {
global $CFG, $SITE;