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...
15
{
16
/**
17
* @var string
18
*/
19
private $leverage;
20
/**
21
* @var string
22
*/
23
private $order;
24
/**
25
* @var string
26
*/
27
private $ordertype;
28
/**
29
* @var string
30
*/
31
private $pair;
32
/**
33
* @var float
34
*/
35
private $price;
36
/**
37
* @var float
38
*/
39
private $price2;
40
/**
41
* @var string
42
*/
43
private $type;
44
45
/**
46
* OpenOrderOrderTypeModel constructor.
47
*
48
* @param string $leverage
49
* @param string $order
50
* @param string $ordertype
51
* @param string $pair
52
* @param float $price
53
* @param float $price2
54
* @param string $type
55
*/
56
public function __construct($leverage, $order, $ordertype, $pair, $price, $price2, $type)
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.