This commit is contained in:
Shish 2021-03-14 23:56:23 +00:00
parent ac981c5eab
commit 7babe9d2a6

View file

@ -521,9 +521,12 @@ function parse_shorthand_int(string $limit): int
/** @noinspection PhpMissingBreakStatementInspection */
case 't': $value *= 1024; // fall through
/** @noinspection PhpMissingBreakStatementInspection */
// no break
case 'g': $value *= 1024; // fall through
/** @noinspection PhpMissingBreakStatementInspection */
// no break
case 'm': $value *= 1024; // fall through
// no break
case 'k': $value *= 1024; break;
default: $value = -1;
}