aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/service_collection_iterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/di/service_collection_iterator.php')
-rw-r--r--phpBB/phpbb/di/service_collection_iterator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/service_collection_iterator.php b/phpBB/phpbb/di/service_collection_iterator.php
index 0d031ab52d..31bc156e99 100644
--- a/phpBB/phpbb/di/service_collection_iterator.php
+++ b/phpBB/phpbb/di/service_collection_iterator.php
@@ -32,7 +32,7 @@ class service_collection_iterator extends \ArrayIterator
*/
public function __construct(service_collection $collection, $flags = 0)
{
- parent::__construct($collection, $flags);
+ parent::__construct($collection->getArrayCopy(), $flags);
$this->collection = $collection;
}