Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
36 | 6 | public function getJSONObject( string $defText = '', string $defTitle = '' ): array { |
|
37 | 6 | $json = parent::getJSONObject( $defText, $defTitle ); |
|
38 | |||
39 | 6 | $json['onlyVisibleOnHover'] = $this->onlyVisibleOnHover; |
|
40 | 6 | $json['fillColor'] = $this->fillColor; |
|
41 | 6 | $json['fillOpacity'] = $this->fillOpacity; |
|
42 | |||
43 | 6 | return $json; |
|
44 | } |
||
45 | |||
47 |