| Total Complexity | 6 | 
| Total Lines | 66 | 
| Duplicated Lines | 0 % | 
| Changes | 3 | ||
| Bugs | 0 | Features | 2 | 
| 1 | <?php  | 
            ||
| 13 | class ODataBagContent  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * The type name of the element.  | 
            ||
| 17 | *  | 
            ||
| 18 | * @var string|null  | 
            ||
| 19 | */  | 
            ||
| 20 | private $type;  | 
            ||
| 21 | /**  | 
            ||
| 22 | * Represents elements of the bag.  | 
            ||
| 23 | *  | 
            ||
| 24 | * @var string[]|ODataPropertyContent[]|null  | 
            ||
| 25 | */  | 
            ||
| 26 | private $propertyContents = [];  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * ODataBagContent constructor.  | 
            ||
| 30 | * @param string $type  | 
            ||
| 31 | * @param ODataPropertyContent[]|string[] $propertyContents  | 
            ||
| 32 | */  | 
            ||
| 33 | public function __construct(string $type = null, array $propertyContents = null)  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @return string|null  | 
            ||
| 41 | */  | 
            ||
| 42 | public function getType(): ?string  | 
            ||
| 43 |     { | 
            ||
| 44 | return $this->type;  | 
            ||
| 45 | }  | 
            ||
| 46 | |||
| 47 | /**  | 
            ||
| 48 | * @param string|null $type  | 
            ||
| 49 | * @return ODataBagContent  | 
            ||
| 50 | */  | 
            ||
| 51 | public function setType(?string $type): ODataBagContent  | 
            ||
| 52 |     { | 
            ||
| 53 | $this->type = $type;  | 
            ||
| 54 | return $this;  | 
            ||
| 55 | }  | 
            ||
| 56 | |||
| 57 | /**  | 
            ||
| 58 | * @return ODataPropertyContent[]|string[]  | 
            ||
| 59 | */  | 
            ||
| 60 | public function getPropertyContents(): ?array  | 
            ||
| 61 |     { | 
            ||
| 62 | return $this->propertyContents;  | 
            ||
| 63 | }  | 
            ||
| 64 | |||
| 65 | /**  | 
            ||
| 66 | * @param ODataPropertyContent[]|string[] $propertyContents  | 
            ||
| 67 | * @return ODataBagContent  | 
            ||
| 68 | */  | 
            ||
| 69 | public function setPropertyContents(array $propertyContents): ODataBagContent  | 
            ||
| 73 | }  | 
            ||
| 74 | |||
| 75 | public function addPropertyContent($propertyContent)  | 
            ||
| 76 |     { | 
            ||
| 81 |