| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | public function getJSONObject( $defText = '' , $defTitle = '' ) { |
||
| 36 | $parentArray = parent::getJSONObject( $defText , $defTitle ); |
||
| 37 | $array = [ |
||
| 38 | 'fillColor' => $this->hasFillColor() ? $this->getFillColor() : '#FF0000' , |
||
| 39 | 'fillOpacity' => $this->hasFillOpacity() ? $this->getFillOpacity() : '0.5' , |
||
| 40 | ]; |
||
| 41 | return array_merge( $parentArray , $array ); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |