Fixed assertion.
authorRoland Haeder <roland@mxchange.org>
Thu, 15 May 2014 21:00:49 +0000 (23:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 May 2014 21:00:49 +0000 (23:00 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/stacker/file_stack/class_BaseFileStack.php

index 911b92e..5ce4b33 100644 (file)
@@ -47,7 +47,7 @@ class BaseFileStack extends BaseStacker {
                $iteratorInstance = ObjectFactory::createObjectByConfiguredName('file_io_iterator_class', array($pointerInstance));
 
                // Is the instance implementing the right interface?
-               assert($iteratorInstance instanceof SeekableFileIterator);
+               assert($iteratorInstance instanceof SeekableWritableFileIterator);
 
                // Set iterator here
                $this->setIteratorInstance($iteratorInstance);