| Total Complexity | 2 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 9 | class ReadWriteJsonJsonArrayBad extends AbstractArrayBackedDaftObject implements DaftJson  | 
            ||
| 10 | { | 
            ||
| 11 | const PROPERTIES = [  | 
            ||
| 12 | 'json',  | 
            ||
| 13 | ];  | 
            ||
| 14 | |||
| 15 | const EXPORTABLE_PROPERTIES = [  | 
            ||
| 16 | 'json',  | 
            ||
| 17 | ];  | 
            ||
| 18 | |||
| 19 | const JSON_PROPERTIES = [  | 
            ||
| 20 | 'json' => 'stdClass[]',  | 
            ||
| 21 | ];  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @return ReadWriteJson[]  | 
            ||
| 25 | */  | 
            ||
| 26 | public function GetJson() : array  | 
            ||
| 27 |     { | 
            ||
| 28 |         return $this->RetrievePropertyValueFromData('json'); | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | public function SetJson(array $json) : void  | 
            ||
| 32 |     { | 
            ||
| 33 |         $this->NudgePropertyValue('json', $json); | 
            ||
| 34 | }  | 
            ||
| 36 |