]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/lists/class_BaseList.php
Continued:
[core.git] / framework / main / classes / lists / class_BaseList.php
index b31350285775b6a942a698543f741fe1183f5a14..2a8595b18b912873ae210d4f357635940e83341d 100644 (file)
@@ -82,7 +82,7 @@ abstract class BaseList extends BaseFrameworkSystem implements IteratorAggregate
                // Is the instance set?
                if (is_null($iteratorInstance)) {
                        // Prepare a default iterator
-                       $iteratorInstance = ObjectFactory::createObjectByConfiguredName('default_iterator_class', array($this));
+                       $iteratorInstance = ObjectFactory::createObjectByConfiguredName('default_iterator_class', [$this]);
 
                        // Set it here
                        $this->setIteratorInstance($iteratorInstance);