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