1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 06:52:34 +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 * @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) protected function formatBytes($bytes)
{ {