Test Failed
Push — master ( e6b57e...dd7c2d )
by Christophe
07:44
created

BasicTooltip::setTrigger()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 2
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 BasicTooltip
12
{
13
    /**
14
     * @var MediumTextStyle
15
     */
16
    protected $textStyle;
17
18
    use TriggerTrait;
19
20
    /**
21
     * BasicTooltip constructor.
22
     */
23
    public function __construct()
24
    {
25
        $this->textStyle = new MediumTextStyle();
26
    }
27
28
    /**
29
     * @return MediumTextStyle
30
     */
31
    public function getTextStyle()
32
    {
33
        return $this->textStyle;
34
    }
35
}
36