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

GoogleCharts/Options/FallingColor.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 FallingColor
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
     * The fill color of falling candles, as an HTML color string.
12
     *
13
     * @var string
14
     */
15
    protected $fill;
16
17
    /**
18
     * The stroke color of falling candles, as an HTML color string.
19
     *
20
     * @var string
21
     */
22
    protected $stroke;
23
24
    /**
25
     * The stroke width of falling candles, as an HTML color string.
26
     *
27
     * @var int
28
     */
29
    protected $strokeWidth;
30
31
32
    /**
33
     * @param string $fill
34
     *
35
     * @return $this
36
     */
37
    public function setFill($fill)
38
    {
39
        $this->fill = $fill;
40
41
        return $this;
42
    }
43
44
    /**
45
     * @param string $stroke
46
     *
47
     * @return $this
48
     */
49
    public function setStroke($stroke)
50
    {
51
        $this->stroke = $stroke;
52
53
        return $this;
54
    }
55
56
    /**
57
     * @param int $strokeWidth
58
     *
59
     * @return $this
60
     */
61
    public function setStrokeWidth($strokeWidth)
62
    {
63
        $this->strokeWidth = $strokeWidth;
64
65
        return $this;
66
    }
67
}
68