From bea9372efa650bd97f5b63c23f392bacd56de219 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 22 May 2014 01:09:41 +0200 Subject: [PATCH] [ticket/12575] Fix the tests PHPBB3-12575 --- phpBB/phpbb/di/service_collection.php | 8 ++++++++ phpBB/phpbb/di/service_collection_iterator.php | 8 ++++++++ 2 files changed, 16 insertions(+) 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 @@ -38,6 +38,14 @@ class service_collection extends \ArrayObject return new service_collection_iterator($this->container, $this); } + /** + * {@inheritdoc} + */ + public function offsetExists($index) + { + return parent::offsetExists($index); + } + /** * {@inheritdoc} */ 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 @@ -48,6 +48,14 @@ class service_collection_iterator extends \ArrayIterator return $task; } + /** + * {@inheritdoc} + */ + public function offsetExists($index) + { + parent::offsetExists($index); + } + /** * {@inheritdoc} */