Test Failed
Pull Request — master (#38)
by Christophe
02:50
created

Tooltip   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 22
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getTextStyle() 0 4 1
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\GeoChart;
4
5
use CMEN\GoogleChartsBundle\GoogleCharts\Options\MediumTextStyle;
6
use CMEN\GoogleChartsBundle\GoogleCharts\Options\TriggerTrait;
7
8
/**
9
 * @author Christophe Meneses
10
 */
11
class Tooltip
12
{
13
    /**
14
     * @var MediumTextStyle
15
     */
16
    protected $textStyle;
17
18
    use TriggerTrait;
19
20
    public function __construct()
21
    {
22
        $this->textStyle = new MediumTextStyle();
23
    }
24
25
    /**
26
     * @return MediumTextStyle
27
     */
28
    public function getTextStyle()
29
    {
30
        return $this->textStyle;
31
    }
32
}
33