@@ -10,22 +10,22 @@ class JobProcessingLongEventData implements EventDataInterface
1010{
1111 private string $ projectId ;
1212 private string $ projectName ;
13- private float $ prolongation ;
13+ private float $ durationOvertimePercentage ;
1414 private float $ averageDuration ;
1515 private int $ currentDuration ;
1616 private JobData $ jobData ;
1717
1818 public function __construct (
1919 string $ projectId ,
2020 string $ projectName ,
21- float $ prolongation ,
21+ float $ durationOvertimePercentage ,
2222 float $ averageDuration ,
2323 int $ currentDuration ,
2424 JobData $ jobData
2525 ) {
2626 $ this ->projectId = $ projectId ;
2727 $ this ->projectName = $ projectName ;
28- $ this ->prolongation = $ prolongation ;
28+ $ this ->durationOvertimePercentage = $ durationOvertimePercentage ;
2929 $ this ->jobData = $ jobData ;
3030 $ this ->averageDuration = $ averageDuration ;
3131 $ this ->currentDuration = $ currentDuration ;
@@ -36,7 +36,7 @@ public function jsonSerialize(): array
3636 return [
3737 'averageDuration ' => $ this ->averageDuration ,
3838 'currentDuration ' => $ this ->currentDuration ,
39- 'durationOvertimePercentage ' => $ this ->prolongation ,
39+ 'durationOvertimePercentage ' => $ this ->durationOvertimePercentage ,
4040 'job ' => $ this ->jobData ->jsonSerialize (),
4141 'project ' => [
4242 'id ' => $ this ->projectId ,
0 commit comments