| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | 6 | public function GetDataFeedElement() : array |
|
| 37 | { |
||
| 38 | /** |
||
| 39 | * @var array<int, string|DataFeedItem|Thing> |
||
| 40 | */ |
||
| 41 | 6 | $out = TypeUtilities::ExpectRetrievedValueIsArray( |
|
| 42 | 6 | 'dataFeedElement', |
|
| 43 | 6 | $this->RetrievePropertyValueFromData('dataFeedElement'), |
|
| 44 | 6 | static::class |
|
| 45 | ); |
||
| 46 | |||
| 47 | 6 | return $out; |
|
| 48 | } |
||
| 62 |