From 6da362948402c376b7fe8ba007cf8f4350c6a40a Mon Sep 17 00:00:00 2001 From: Hennadiy Verkh Date: Mon, 24 Mar 2014 13:22:48 +0100 Subject: [PATCH] Added detailed comments. --- src/Monolog/Processor/MemoryProcessor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Monolog/Processor/MemoryProcessor.php b/src/Monolog/Processor/MemoryProcessor.php index c1176f29..653ae8ca 100644 --- a/src/Monolog/Processor/MemoryProcessor.php +++ b/src/Monolog/Processor/MemoryProcessor.php @@ -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) {