From: Sam Reed Date: Sun, 16 Oct 2011 22:01:10 +0000 (+0000) Subject: Few bits of documentation X-Git-Tag: 1.31.0-rc.0~27062 X-Git-Url: http://git.cyclocoop.org//%27http:/ie7-js.googlecode.com/svn/test/index.html/%27?a=commitdiff_plain;h=0c8f30b3c4dd0ab1357f2845418576536600f25e;p=lhc%2Fweb%2Fwiklou.git Few bits of documentation --- diff --git a/includes/upload/UploadFromStash.php b/includes/upload/UploadFromStash.php index 8392270f3c..d67cebd299 100644 --- a/includes/upload/UploadFromStash.php +++ b/includes/upload/UploadFromStash.php @@ -134,6 +134,7 @@ class UploadFromStash extends UploadBase { /** * This should return the key instead of the UploadStashFile instance, for backward compatibility. + * @return String */ public function stashSession() { return $this->stashFile()->getFileKey(); @@ -164,9 +165,12 @@ class UploadFromStash extends UploadBase { /** * Append a chunk to the temporary file. * + * @param $chunk + * @param $chunkSize + * @param $offset * @return Status */ - public function appendChunk($chunk, $chunkSize, $offset) { + public function appendChunk( $chunk, $chunkSize, $offset ) { //to use $this->getFileSize() here, db needs to be updated //in appendToUploadFile for that $fileSize = $this->stash->getFile( $this->mFileKey )->getSize();