Skip to content

Commit 6682d85

Browse files
committedApr 15, 2024
Fix style errors in some comments.
1 parent 4010c79 commit 6682d85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎question.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
use qtype_coderunner\constants;
3333
use qtype_coderunner\coderunner_files;
3434

35-
/**
35+
/*
3636
* Represents a 'CodeRunner' question.
3737
*/
3838

@@ -254,7 +254,7 @@ public function start_attempt(question_attempt_step $step = null, $variant = nul
254254
$step->set_qt_var('_mtrandseed', $seed);
255255
}
256256
$this->evaluate_question_for_display($seed, $step);
257-
$this->randomseed = $seed; // so we can see it when checking
257+
$this->randomseed = $seed; // So we can see it when checking.
258258
}
259259

260260
// Retrieve the saved random number seed and reconstruct the template
@@ -270,7 +270,7 @@ public function apply_attempt_state(question_attempt_step $step) {
270270
$seed = mt_rand();
271271
}
272272
$this->evaluate_question_for_display($seed, $step);
273-
$this->randomseed = $seed; // so we can see it when checking
273+
$this->randomseed = $seed; // So we can see it when checking.
274274
}
275275

276276

@@ -843,7 +843,7 @@ public function display_feedback() {
843843
* the history of prior submissions.
844844
* @param bool $isprecheck true iff this grading is occurring because the
845845
* student clicked the precheck button
846-
* @param bool $isvalidationrun true iff this is a validation run when saving
846+
* @param bool $isvalidationrun true iff this is a validation run when saving
847847
* a question.
848848
* @return 3-element array of the mark (0 - 1), the question_state (
849849
* gradedright, gradedwrong, gradedpartial, invalid) and the full
@@ -939,7 +939,7 @@ private function get_attached_files($response) {
939939

940940

941941
/** Pulls out the step information in the response, added by the CodeRunner
942-
/* custom behaviour, for use by the question author in issuing feedback.
942+
* custom behaviour, for use by the question author in issuing feedback.
943943
*
944944
* @param type $response The usual response array enhanced by the addition of
945945
* numchecks, numprechecks and fraction values relating to the current step.

0 commit comments

Comments
 (0)