From edd69076081a2b982f7896b3c630aefb2284b681 Mon Sep 17 00:00:00 2001 From: Chris Sangwin <C.J.Sangwin@ed.ac.uk> Date: Fri, 28 Apr 2023 10:55:15 +0100 Subject: [PATCH] Code tidy. --- tidyquestionform.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tidyquestionform.php b/tidyquestionform.php index 26777a480..a45b93443 100644 --- a/tidyquestionform.php +++ b/tidyquestionform.php @@ -65,7 +65,7 @@ class qtype_stack_tidy_question_form extends moodleform { $mform->addElement('header', 'prtnodesheader' . $prtname, stack_string('prtnodesheading', $prtname)); - $graph = $graph = $this->get_prt_graph($prt); + $graph = $this->get_prt_graph($prt); $newnames = $graph->get_suggested_node_names(); $mform->addElement('static', $prtname . 'graph', '', stack_abstract_graph_svg_renderer::render($graph, $prtname . 'graphsvg')); @@ -83,7 +83,7 @@ class qtype_stack_tidy_question_form extends moodleform { } /** - * Get a stack_abstract_graph represemtatopm of a PRT. + * Get a stack_abstract_graph representation of a PRT. * @return stack_abstract_graph. */ protected function get_prt_graph($prt) { -- GitLab