BasicTooltip   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 17
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

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