Incorrect PHPDocs for render_form_elements and co (#271)

This commit is contained in:
Mark Nelson 2019-04-16 19:22:50 +08:00 committed by Mark Nelson
parent b16bf5ccb6
commit 1bfceb6794
2 changed files with 3 additions and 3 deletions

View file

@ -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();

View file

@ -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);