Series   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 15
ccs 0
cts 4
cp 0
rs 10
wmc 2

2 Methods

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