Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit bb07819

Browse files
committed
should've replaced 'goto' with 'break'
1 parent d0ba71c commit bb07819

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/phpFITFileAnalysis.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,8 +2030,7 @@ public function partitionData($record_field = '', $thresholds = null, $percentag
20302030
$count = count($thresholds);
20312031
for ($key; $key<$count; ++$key) {
20322032
if ($value < $thresholds[$key]) {
2033-
$result[$key]++;
2034-
continue;
2033+
break;
20352034
}
20362035
}
20372036
$result[$key]++;

0 commit comments

Comments
 (0)