| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | 182 | public function GetLocation() : array |
|
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var array<int, string|Place|PostalAddress> |
||
| 25 | */ |
||
| 26 | 182 | $out = TypeUtilities::ExpectRetrievedValueIsArray( |
|
| 27 | 182 | 'location', |
|
| 28 | 182 | $this->RetrievePropertyValueFromData('location'), |
|
| 29 | 182 | static::class |
|
| 30 | ); |
||
| 31 | |||
| 32 | 182 | return $out; |
|
| 33 | } |
||
| 47 |