]> 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 cee5e7177a0bcc7beb5b2b72c2dabdcbdea22ac7..1049200e9d99d7fab62c4ff4715f882158386858 100644 (file)
@@ -49,7 +49,7 @@ class FileStackIndexFactory extends ObjectFactory {
         * @param       $infoInstance   An instance of a SplFileInfo class
         * @return      $indexInstance  An instance of a IndexableStack class
         */
-       public static final function createFileStackIndexInstance (SplFileInfo $infoInstance, $type) {
+       public static final function createFileStackIndexInstance (SplFileInfo $infoInstance, string $type) {
                // If there is no handler?
                if (GenericRegistry::getRegistry()->instanceExists($type . '_index')) {
                        // Get handler from registry