| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class HasOneNested |
||
| 12 | { |
||
| 13 | public static function inProperty( |
||
| 14 | string $name, |
||
| 15 | Deserializer $deserializer |
||
| 16 | ): Mapping { |
||
| 17 | return NestingTransform::inKey($name, RelationMapping::inProperty( |
||
| 18 | $name, |
||
| 19 | $deserializer |
||
| 20 | )); |
||
| 21 | } |
||
| 22 | |||
| 23 | public static function inPropertyWithDifferentKey( |
||
| 31 | )); |
||
| 32 | } |
||
| 34 |