Conditions | 4 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
27 | public function jsonLDSerialize(string $context = self::DEFAULT_CONTEXT, bool $types = null) |
||
28 | { |
||
29 | if (!$this->memberSet && !$this->memberList && !$this->memberChoice) { |
||
30 | $this->memberSet = new Set(); |
||
31 | } |
||
32 | |||
33 | return parent::jsonLDSerialize($context, $types); |
||
34 | } |
||
35 | } |
||
36 |