YAxisConfig   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
eloc 6
c 3
b 0
f 0
dl 0
loc 17
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Afonso\Plotta;
4
5
class YAxisConfig extends AxisConfig
6
{
7
    /**
8
     * @var float
9
     */
10
    public $min;
11
12
    /**
13
     * @var float
14
     */
15
    public $max;
16
17
    public function __construct(string $name, float $min = null, float $max = null)
18
    {
19
        parent::__construct($name);
20
        $this->min = $min;
21
        $this->max = $max;
22
    }
23
}
24