Skip to content

Commit de70ed8

Browse files
committed
Replace continue in switch with break
break and "continue 2" are the same in this case and the code mixes both. I'm using break here for simplicity.
1 parent 446bda9 commit de70ed8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PEAR/PackageFile/v1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,8 +1420,8 @@ function _analyzeSourceCode($file)
14201420
}
14211421
}
14221422
switch ($token) {
1423-
case T_WHITESPACE :
1424-
continue;
1423+
case T_WHITESPACE:
1424+
break;
14251425
case ';':
14261426
if ($interface) {
14271427
$current_function = '';

0 commit comments

Comments
 (0)