Apply fixes from StyleCI (#735)

[ci skip] [skip ci]
This commit is contained in:
Dane Everitt 2017-11-05 13:59:51 -05:00 committed by GitHub
parent a4cf06ba77
commit 82b7bff7f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ if (! function_exists('human_readable')) {
$i = 0;
while (($path / 1024) > 0.9) {
$path = $path / 1024;
++$i;
$i++;
}
return round($path, $precision) . ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'][$i];