mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-24 01:56:18 +02:00
CS fixes
This commit is contained in:
@@ -52,10 +52,10 @@ abstract class MemoryProcessor
|
||||
return $bytes;
|
||||
}
|
||||
|
||||
if ($bytes > 1024*1024) {
|
||||
return round($bytes/1024/1024, 2).' MB';
|
||||
if ($bytes > 1024 * 1024) {
|
||||
return round($bytes / 1024 / 1024, 2).' MB';
|
||||
} elseif ($bytes > 1024) {
|
||||
return round($bytes/1024, 2).' KB';
|
||||
return round($bytes / 1024, 2).' KB';
|
||||
}
|
||||
|
||||
return $bytes . ' B';
|
||||
|
||||
Reference in New Issue
Block a user