]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/factories/index/class_FileStackIndexFactory.php
Continued:
[core.git] / framework / main / classes / factories / index / class_FileStackIndexFactory.php
index 1049200e9d99d7fab62c4ff4715f882158386858..9f4df7f074be59ff5c1ea8096c1819f4fff0d56c 100644 (file)
@@ -5,7 +5,6 @@ namespace Org\Mxchange\CoreFramework\Factory\Filesystem\Stack;
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
-use Org\Mxchange\CoreFramework\Stacker\Index\IndexableStack;
 
 // Import SPL stuff
 use \SplFileInfo;
@@ -58,9 +57,6 @@ class FileStackIndexFactory extends ObjectFactory {
                        // Get the handler instance
                        $indexInstance = self::createObjectByConfiguredName($type . '_file_stack_index_class', array($infoInstance));
 
-                       // Add check for interface
-                       assert($indexInstance instanceof IndexableStack);
-
                        // Add it to the registry
                        GenericRegistry::getRegistry()->addInstance($type . '_index', $indexInstance);
                }