mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +02:00
MDL-20636 Fix codechecker issues in the question behaviours.
This commit is contained in:
parent
9447399c11
commit
1631ceeaec
21 changed files with 147 additions and 86 deletions
|
@ -55,14 +55,17 @@ class qbehaviour_missing extends question_behaviour {
|
|||
}
|
||||
|
||||
public function init_first_step(question_attempt_step $step) {
|
||||
throw new coding_exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
throw new coding_exception('The behaviour used for this question is not available. ' .
|
||||
'No processing is possible.');
|
||||
}
|
||||
|
||||
public function process_action(question_attempt_pending_step $pendingstep) {
|
||||
throw new coding_exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
throw new coding_exception('The behaviour used for this question is not available. ' .
|
||||
'No processing is possible.');
|
||||
}
|
||||
|
||||
public function get_min_fraction() {
|
||||
throw new coding_exception('The behaviour used for this question is not available. No processing is possible.');
|
||||
throw new coding_exception('The behaviour used for this question is not available. ' .
|
||||
'No processing is possible.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue