| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | trait HasMakesOffer |
||
| 13 | { |
||
| 14 | use DaftObjectTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return array<int, Offer> |
||
| 18 | */ |
||
| 19 | 10 | public function GetMakesOffer() : array |
|
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var array<int, Offer> |
||
| 23 | */ |
||
| 24 | 10 | $out = TypeUtilities::ExpectRetrievedValueIsArray( |
|
| 25 | 10 | 'makesOffer', |
|
| 26 | 10 | $this->RetrievePropertyValueFromData('makesOffer'), |
|
|
|
|||
| 27 | 10 | static::class |
|
| 28 | ); |
||
| 29 | |||
| 30 | 10 | return $out; |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param array<int, Offer> $value |
||
| 35 | */ |
||
| 36 | public function SetMakesOffer(array $value) : void |
||
| 43 | ); |
||
| 44 | } |
||
| 46 |