From 1bfceb6794cd9e7550ce3d4487aa415c7c949a21 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 16 Apr 2019 19:22:50 +0800 Subject: [PATCH] Incorrect PHPDocs for render_form_elements and co (#271) --- classes/element_helper.php | 2 +- element/qrcode/classes/element.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/element_helper.php b/classes/element_helper.php index f8061c2..622fa11 100644 --- a/classes/element_helper.php +++ b/classes/element_helper.php @@ -191,7 +191,7 @@ class element_helper { /** * Helper function to render the refpoint element. * - * @param \mod_customcert\edit_element_form $mform the edit_form instance. + * @param \MoodleQuickForm $mform the edit_form instance. */ public static function render_form_element_refpoint($mform) { $refpointoptions = array(); diff --git a/element/qrcode/classes/element.php b/element/qrcode/classes/element.php index eb036f2..3f1329b 100644 --- a/element/qrcode/classes/element.php +++ b/element/qrcode/classes/element.php @@ -43,7 +43,7 @@ class element extends \mod_customcert\element { /** * This function renders the form elements when adding a customcert element. * - * @param \mod_customcert\edit_element_form $mform the edit_form instance + * @param \MoodleQuickForm $mform the edit_form instance */ public function render_form_elements($mform) { \mod_customcert\element_helper::render_form_element_width($mform); @@ -102,7 +102,7 @@ class element extends \mod_customcert\element { /** * Sets the data on the form when editing an element. * - * @param \mod_customcert\edit_element_form $mform the edit_form instance + * @param \MoodleQuickForm $mform the edit_form instance */ public function definition_after_data($mform) { parent::definition_after_data($mform);