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:
parent
904504bd2c
commit
6da3629484
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user