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

GoogleCharts/Options/LineSeries.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options;
4
5
/**
6
 * @author Christophe Meneses
7
 */
8 View Code Duplication
class LineSeries extends AdvancedSeries
0 ignored issues
show
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
9
{
10
    /**
11
     * Overrides the global lineDashStyle value for this series.
12
     *
13
     * @var int[]
14
     */
15
    protected $lineDashStyle;
16
17
    /**
18
     * Overrides the global lineWidth value for this series.
19
     *
20
     * @var int
21
     */
22
    protected $lineWidth;
23
24
    /**
25
     * Overrides the global pointShape value for this series.
26
     *
27
     * @var string
28
     */
29
    protected $pointShape;
30
31
    /**
32
     * Overrides the global pointSize value for this series.
33
     *
34
     * @var int
35
     */
36
    protected $pointSize;
37
38
    /**
39
     * Overrides the global pointsVisible value for this series.
40
     *
41
     * @var bool
42
     */
43
    protected $pointsVisible;
44
45
46
    /**
47
     * @param int[] $lineDashStyle
48
     *
49
     * @return $this
50
     */
51
    public function setLineDashStyle($lineDashStyle)
52
    {
53
        $this->lineDashStyle = $lineDashStyle;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @param int $lineWidth
60
     *
61
     * @return $this
62
     */
63
    public function setLineWidth($lineWidth)
64
    {
65
        $this->lineWidth = $lineWidth;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @param string $pointShape
72
     *
73
     * @return $this
74
     */
75
    public function setPointShape($pointShape)
76
    {
77
        $this->pointShape = $pointShape;
78
79
        return $this;
80
    }
81
82
    /**
83
     * @param int $pointSize
84
     *
85
     * @return $this
86
     */
87
    public function setPointSize($pointSize)
88
    {
89
        $this->pointSize = $pointSize;
90
91
        return $this;
92
    }
93
94
    /**
95
     * @param bool $pointsVisible
96
     *
97
     * @return $this
98
     */
99
    public function setPointsVisible($pointsVisible)
100
    {
101
        $this->pointsVisible = $pointsVisible;
102
103
        return $this;
104
    }
105
}
106