src/Entity/Quiz.php 1 location
|
@@ 354-356 (lines=3) @@
|
351 |
|
$this->winners = $data['winners']; |
352 |
|
} |
353 |
|
|
354 |
|
if (isset($data['timer']) && $data['timer'] !== null) { |
355 |
|
$this->timer = $data['timer']; |
356 |
|
} |
357 |
|
if (isset($data['timerDuration']) && $data['timerDuration'] !== null) { |
358 |
|
$this->timerDuration = $data['timerDuration']; |
359 |
|
} |
src/Entity/QuizQuestion.php 1 location
|
@@ 610-612 (lines=3) @@
|
607 |
|
$this->autoplay = $data['autoplay']; |
608 |
|
} |
609 |
|
|
610 |
|
if (isset($data['timer']) && $data['timer'] !== null) { |
611 |
|
$this->timer = $data['timer']; |
612 |
|
} |
613 |
|
|
614 |
|
if (isset($data['timer_duration']) && $data['timer_duration'] !== null) { |
615 |
|
$this->timer_duration = $data['timer_duration']; |