aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/di')
-rw-r--r--phpBB/phpbb/di/service_collection.php8
-rw-r--r--phpBB/phpbb/di/service_collection_iterator.php8
2 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/phpbb/di/service_collection.php b/phpBB/phpbb/di/service_collection.php
index 032d299553..3ae3f793c0 100644
--- a/phpBB/phpbb/di/service_collection.php
+++ b/phpBB/phpbb/di/service_collection.php
@@ -41,6 +41,14 @@ class service_collection extends \ArrayObject
/**
* {@inheritdoc}
*/
+ public function offsetExists($index)
+ {
+ return parent::offsetExists($index);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
public function offsetGet($index)
{
if (($task = parent::offsetGet($index)) == null)
diff --git a/phpBB/phpbb/di/service_collection_iterator.php b/phpBB/phpbb/di/service_collection_iterator.php
index ace66d1906..93f74adca9 100644
--- a/phpBB/phpbb/di/service_collection_iterator.php
+++ b/phpBB/phpbb/di/service_collection_iterator.php
@@ -51,6 +51,14 @@ class service_collection_iterator extends \ArrayIterator
/**
* {@inheritdoc}
*/
+ public function offsetExists($index)
+ {
+ parent::offsetExists($index);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
public function current()
{
if (($task = parent::current()) == null)