@@ -20,9 +20,9 @@ class Calculate
20
20
{
21
21
private $ cache ;
22
22
private $ doctrine ;
23
- private $ fund_drive_profits ;
24
- private $ fund_drive_expenses ;
25
- private $ deduct_fees ;
23
+ private $ fundDriveProfits ;
24
+ private $ fundDriveExpenses ;
25
+ private $ deductFees ;
26
26
27
27
public function __construct (CacheInterface $ cache , EntityManagerInterface $ doctrine )
28
28
{
@@ -54,7 +54,7 @@ public function progress()
54
54
->getSingleResult ()
55
55
;
56
56
57
- $ goal = $ this ->fund_drive_profits + $ this ->fund_drive_expenses ;
57
+ $ goal = $ this ->fundDriveProfits + $ this ->fundDriveExpenses ;
58
58
59
59
$ current = $ row ['gross ' ];
60
60
@@ -74,36 +74,36 @@ public function progress()
74
74
75
75
public function setDeductFees (bool $ deduct ): self
76
76
{
77
- $ this ->deduct_fees = $ deduct ;
77
+ $ this ->deductFees = $ deduct ;
78
78
79
79
return $ this ;
80
80
}
81
81
82
82
public function isDeductFees (): bool
83
83
{
84
- return $ this ->deduct_fees ;
84
+ return $ this ->deductFees ;
85
85
}
86
86
87
87
public function getFundDriveProfit (): int
88
88
{
89
- return $ this ->fund_drive_profits ;
89
+ return $ this ->fundDriveProfits ;
90
90
}
91
91
92
92
public function setFundDriveProfit (int $ profit ): self
93
93
{
94
- $ this ->fund_drive_profits = $ profit ;
94
+ $ this ->fundDriveProfits = $ profit ;
95
95
96
96
return $ this ;
97
97
}
98
98
99
99
public function getFundDriveExpenses (): int
100
100
{
101
- return $ this ->fund_drive_expenses ;
101
+ return $ this ->fundDriveExpenses ;
102
102
}
103
103
104
104
public function setFundDriveExpenses (int $ expenses ): self
105
105
{
106
- $ this ->fund_drive_expenses = $ expenses ;
106
+ $ this ->fundDriveExpenses = $ expenses ;
107
107
108
108
return $ this ;
109
109
}
0 commit comments