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...
25
{
26
use OptionsAwareTrait;
27
use VariableAwareTrait;
28
29
/**
30
* @var Coordinate
31
*/
32
private $center;
33
34
/**
35
* @var float
36
*/
37
private $radius;
38
39
/**
40
* @param float $radius
41
* @param mixed[] $options
42
*/
43
32
public function __construct(Coordinate $center, $radius = 1.0, array $options = [])
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.