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