Skip to content

Commit 3aa35ec

Browse files
ISSUE #1675: Postpone webhooks process when other process is importing data
1 parent 52aeff1 commit 3aa35ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Domain/Activity/PowerDistributionChart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function build(): ?array
7171
foreach ($xAxisValues as $axisValue) {
7272
$data[] = array_sum(array_splice($powerData, 0, $step)) / $totalTimeInSeconds * 100;
7373
}
74-
// @phpstan-ignore-next-line
74+
7575
$yAxisMax = max($data) * 1.2;
7676
$xAxisValueAveragePower = array_search($this->findClosestSteppedValue(
7777
min: $minPower,

src/Domain/Activity/VelocityDistributionChart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function build(): ?array
7777
foreach ($xAxisValues as $axisValue) {
7878
$data[] = array_sum(array_splice($velocityData, 0, $step)) / $totalTimeInSeconds * 100;
7979
}
80-
// @phpstan-ignore-next-line
80+
8181
$yAxisMax = max($data) * 1.2;
8282

8383
$xAxisValueAverageVelocity = array_search($this->findClosestSteppedValue(

0 commit comments

Comments
 (0)