X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fio%2Fclass_FrameworkFileOutputPointer.php;fp=inc%2Fclasses%2Fmain%2Fio%2Fclass_FrameworkFileOutputPointer.php;h=21e82ba3010f2ef80a9cd9d5b0a49f5f1bd9e852;hp=0d13365c4606a1f3060cea314ef82565e046aa2a;hb=6b1435f080b3ef9562d22df34f6b1205003e90a0;hpb=6703da39c439aa4772df4c1b31aca50b577e1406 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); }