format
This commit is contained in:
parent
ac981c5eab
commit
7babe9d2a6
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue