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

Tooltip::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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 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