Skip to content

Commit

Permalink
code compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed Aug 29, 2020
1 parent 9743394 commit b499e1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion edit_gapfill_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function get_wrong_answers($question) {
}

/**
* Perform any preprocessing needed on the data passed to {@link set_data()}
* Perform any preprocessing needed on the data passed in
* before it is used to initialise the form.
* @param object $question the data being passed to the form.
* @return object $question the modified data.
Expand Down
2 changes: 1 addition & 1 deletion question.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public function is_correct_response($answergiven, $rightanswer) {
* Communicate with the dragdrop.js script
* tell it if singleuse of draggables is
* enabled
*
* @param int $singleuse
* @return void
*/
public function initjs(?int $singleuse = 0) {
Expand Down
4 changes: 2 additions & 2 deletions renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ public function get_aftergap_text(question_attempt $qa, $fraction, $itemsettings
/**
* Get feedback for correct or incorrect response
*
* @param array $settings
* @param boolean $correctness
* @param array|null $settings
* @param bool $correctness
* @return string
*/
protected function get_feedback(?array $settings, bool $correctness) :string {
Expand Down

0 comments on commit b499e1e

Please sign in to comment.