From 6b1435f080b3ef9562d22df34f6b1205003e90a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 25 Sep 2012 21:33:39 +0000 Subject: [PATCH] Better comments --- inc/classes/main/io/class_FrameworkFileOutputPointer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/io/class_FrameworkFileOutputPointer.php b/inc/classes/main/io/class_FrameworkFileOutputPointer.php index 0d13365c..21e82ba3 100644 --- a/inc/classes/main/io/class_FrameworkFileOutputPointer.php +++ b/inc/classes/main/io/class_FrameworkFileOutputPointer.php @@ -93,7 +93,7 @@ class FrameworkFileOutputPointer extends BaseFrameworkSystem { * Write data to a file pointer * * @param $dataStream The data stream we shall write to the file - * @return mixed The result of fwrite() + * @return mixed Number of writes bytes or FALSE on error * @throws NullPointerException If the file pointer instance * is not set by setPointer() * @throws InvalidResourceException If there is being set @@ -108,7 +108,7 @@ class FrameworkFileOutputPointer extends BaseFrameworkSystem { throw new InvalidResourceException($this, self::EXCEPTION_INVALID_RESOURCE); } - // Read data from the file pointer and return it + // Write data to the file pointer and return written bytes return fwrite($this->getPointer(), $dataStream); } -- 2.30.2