1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-23 22:42:38 +01:00

Added detailed comments.

This commit is contained in:
Hennadiy Verkh 2014-03-24 13:22:48 +01:00
parent 904504bd2c
commit 6da3629484

View File

@ -39,10 +39,10 @@ abstract class MemoryProcessor
}
/**
* Formats bytes into a human readable string (if $this->useFormatting is true)
* Formats bytes into a human readable string if $this->useFormatting is true, otherwise return $bytes as is
*
* @param int $bytes
* @return string|int
* @return string|int Formatted string if $this->useFormatting is true, otherwise return $bytes as is
*/
protected function formatBytes($bytes)
{