Removed asserts as they seem to be to hard and returned status code instead.
[core.git] / inc / classes / main / iterator / io / class_FileIoIterator.php
index f14342317dd9daebf246d0ca1fcfc84ded6517b3..af4c1b47f8b8174a176a7faa7626a72a7de1665f 100644 (file)
@@ -86,22 +86,22 @@ class FileIoIterator extends BaseIterator implements SeekableWritableFileIterato
        /**
         * Rewinds to the beginning of the file
         *
-        * @return      void
+        * @return      $status         Status of this operation
         */
        public function rewind () {
                // Call pointer instance
-               $this->getPointerInstance()->rewind();
+               return $this->getPointerInstance()->rewind();
        }
 
        /**
         * Seeks to given position
         *
         * @param       $seekPosition   Seek position in file
-        * @return      void
+        * @return      $status                 Status of this operation
         */
        public function seek ($seekPosition) {
                // Call pointer instance
-               $this->getPointerInstance()->seek($seekPosition);
+               return $this->getPointerInstance()->seek($seekPosition);
        }
 
        /**