Conditions | 3 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | public function getNonScalarReferencedPropertyDescriptor(): AbstractBeanPropertyDescriptor |
||
33 | { |
||
34 | if ($this->referencedPropertyDescriptor instanceof InheritanceReferencePropertyDescriptor) { |
||
35 | return $this->referencedPropertyDescriptor->getNonScalarReferencedPropertyDescriptor(); |
||
36 | } |
||
37 | assert($this->referencedPropertyDescriptor instanceof ScalarBeanPropertyDescriptor || $this->referencedPropertyDescriptor instanceof ObjectBeanPropertyDescriptor); |
||
38 | return $this->referencedPropertyDescriptor; |
||
39 | } |
||
46 |