Permalink
Browse files

docs(core): fixes docs for ElggFilestore::seek return value

  • Loading branch information...
mrclay authored and hypeJunction committed Apr 9, 2016
1 parent 0a86b8a commit fe310c313aba11e0439be9aaf46a5030c0b4c031
Showing with 2 additions and 3 deletions.
  1. +1 −1 engine/classes/ElggDiskFilestore.php
  2. +0 −1 engine/classes/ElggFile.php
  3. +1 −1 engine/classes/ElggFilestore.php
@@ -167,7 +167,7 @@ public function delete(\ElggFile $file, $follow_symlinks = true) {
* @param resource $f File resource
* @param int $position Position in bytes
*
* @return bool
* @return int 0 for success, or -1
*/
public function seek($f, $position) {
return fseek($f, $position);
@@ -319,7 +319,6 @@ public function delete($follow_symlinks = true) {
public function seek($position) {
$fs = $this->getFilestore();
// @todo add seek() to \ElggFilestore
return $fs->seek($this->handle, $position);
}
@@ -44,7 +44,7 @@
* @param mixed $f The file handle.
* @param int $position The position.
*
* @return void
* @return int 0 for success, or -1
*/
abstract public function seek($f, $position);

0 comments on commit fe310c3

Please sign in to comment.