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
|
@@ 571-573 (lines=3) @@
|
| 568 |
|
$this->hint = $data['hint']; |
| 569 |
|
} |
| 570 |
|
|
| 571 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 572 |
|
$this->jsonData = $data['jsonData']; |
| 573 |
|
} |
| 574 |
|
|
| 575 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 576 |
|
$this->type = $data['type']; |
src/PlaygroundGame/Entity/TradingCardModel.php 1 location
|
@@ 523-525 (lines=3) @@
|
| 520 |
|
$this->description = $data['description']; |
| 521 |
|
} |
| 522 |
|
|
| 523 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 524 |
|
$this->jsonData = $data['jsonData']; |
| 525 |
|
} |
| 526 |
|
|
| 527 |
|
if (isset($data['distribution']) && $data['distribution'] !== null) { |
| 528 |
|
$this->distribution = $data['distribution']; |