src/PlaygroundGame/Entity/QuizAnswer.php 1 location
|
@@ 343-345 (lines=3) @@
|
| 340 |
|
$this->explanation = $data['explanation']; |
| 341 |
|
} |
| 342 |
|
|
| 343 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 344 |
|
$this->jsonData = $data['jsonData']; |
| 345 |
|
} |
| 346 |
|
|
| 347 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 348 |
|
$this->type = $data['type']; |
src/PlaygroundGame/Entity/QuizQuestion.php 1 location
|
@@ 570-572 (lines=3) @@
|
| 567 |
|
$this->hint = $data['hint']; |
| 568 |
|
} |
| 569 |
|
|
| 570 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 571 |
|
$this->jsonData = $data['jsonData']; |
| 572 |
|
} |
| 573 |
|
|
| 574 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 575 |
|
$this->type = $data['type']; |