Closed
Description
Hi
Given this code
switch ($m[self::META_IDX_FORMAT][0]) {
case 1: {
throw new OutOfRangeException();
break;
}
default: {
// throw new LogicException("Format of '{$f}' is unknown: {$m[self::META_IDX_FORMAT]}");
throw new OutOfRangeException();
break;
}
}
If I issue a findEndOfStatement using the index of the first case statement I get the closing brace of the default branch which seems not to make any sense
Please can someone provide an explanation