Minor - format code

pull/3937/head^2
Julio Montoya 4 years ago
parent 93e89d853a
commit f539afe55e
  1. 3
      main/exercise/answer.class.php
  2. 2
      main/exercise/calculated_answer.class.php

@ -34,7 +34,7 @@ class Answer
public $new_position; public $new_position;
public $new_hotspot_coordinates; public $new_hotspot_coordinates;
public $new_hotspot_type; public $new_hotspot_type;
/** @var int Incremental ID used in the past when PK was a mix of c_id+id*/ /** @var int Incremental ID used in the past when PK was a mix of c_id+id */
public $autoId; public $autoId;
/** @var int Number of answers in the question */ /** @var int Number of answers in the question */
public $nbrAnswers; public $nbrAnswers;
@ -394,6 +394,7 @@ class Answer
* @param int $auto_id * @param int $auto_id
* *
* @return array * @return array
*
* @todo Replace method by iid search * @todo Replace method by iid search
*/ */
public function selectAnswerByAutoId($auto_id) public function selectAnswerByAutoId($auto_id)

@ -190,7 +190,7 @@ class CalculatedAnswer extends Question
$table, $table,
[ [
'question_id = ?' => [ 'question_id = ?' => [
$this->iid $this->iid,
], ],
] ]
); );

Loading…
Cancel
Save