Skip to content

Commit

Permalink
Fix PHP_CS error
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <[email protected]>
  • Loading branch information
yubiuser committed Sep 20, 2023
1 parent ec72fbc commit 48febbb
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 48febbb

Please sign in to comment.