| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3.0416 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | 64 | protected function createNodeFromArrayValue(array $array, ?Document $ownerDoc, int $flags): VectorNode |
|
| 11 | { |
||
| 12 | 64 | return $this->createArrayNodeFromPackedArray($array, $ownerDoc, $flags); |
|
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @inheritdoc |
||
| 17 | */ |
||
| 18 | 64 | protected function createNodeFromObjectValue(object $object, ?Document $ownerDoc, int $flags): ?Node |
|
| 19 | { |
||
| 20 | 64 | return $this->createObjectNodeFromPropertyMap($object, $ownerDoc, $flags); |
|
| 21 | } |
||
| 23 |