| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | 2 | public function getDataTypeIdForProperty( PropertyId $propertyId ) { |
|
| 35 | 2 | $serializedId = $propertyId->getSerialization(); |
|
| 36 | |||
| 37 | 2 | if ( !array_key_exists( $serializedId, $this->propertyIds ) ) { |
|
| 38 | 2 | $this->propertyIds[$serializedId] = $this->lookup->getDataTypeIdForProperty( $propertyId ); |
|
| 39 | 2 | } |
|
| 40 | |||
| 41 | 2 | return $this->propertyIds[$serializedId]; |
|
| 42 | } |
||
| 45 |