From: Roland Häder Date: Tue, 25 Sep 2012 21:33:39 +0000 (+0000) Subject: Better comments X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=6b1435f080b3ef9562d22df34f6b1205003e90a0 Better comments --- 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); }