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

Commit 28d33ed

Browse files
committed
get ride of 'goto' statement
1 parent 6b8958b commit 28d33ed

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
@@ -2031,11 +2031,10 @@ public function partitionData($record_field = '', $thresholds = null, $percentag
20312031
for ($key; $key<$count; ++$key) {
20322032
if ($value < $thresholds[$key]) {
20332033
$result[$key]++;
2034-
goto loop_end;
2034+
continue;
20352035
}
20362036
}
20372037
$result[$key]++;
2038-
loop_end:
20392038
}
20402039

20412040
array_unshift($thresholds, 0);

0 commit comments

Comments
 (0)