Skip to content

Commit

Permalink
Fix PHP_CS error (#2710)
Browse files Browse the repository at this point in the history
  • Loading branch information
yubiuser authored Sep 20, 2023
2 parents ec72fbc + 48febbb commit a690041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pi-hole/php/savesettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,9 @@ function formatSizeUnits($bytes)
} elseif ($bytes >= 1024) {
$bytes = number_format($bytes / 1024, 2).' kB';
} elseif ($bytes > 1) {
$bytes = $bytes.' bytes';
$bytes .= ' bytes';
} elseif ($bytes == 1) {
$bytes = $bytes.' byte';
$bytes .= ' byte';
} else {
$bytes = '0 bytes';
}
Expand Down

0 comments on commit a690041

Please sign in to comment.