diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-22 01:09:41 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-14 01:45:21 +0200 |
commit | bea9372efa650bd97f5b63c23f392bacd56de219 (patch) | |
tree | b583e29077b94e7e18367f038e2273204ad111cf | |
parent | a0985c7a22014ac1b354f95195d26fd002bf1374 (diff) | |
download | forums-bea9372efa650bd97f5b63c23f392bacd56de219.tar forums-bea9372efa650bd97f5b63c23f392bacd56de219.tar.gz forums-bea9372efa650bd97f5b63c23f392bacd56de219.tar.bz2 forums-bea9372efa650bd97f5b63c23f392bacd56de219.tar.xz forums-bea9372efa650bd97f5b63c23f392bacd56de219.zip |
[ticket/12575] Fix the tests
PHPBB3-12575
-rw-r--r-- | phpBB/phpbb/di/service_collection.php | 8 | ||||
-rw-r--r-- | phpBB/phpbb/di/service_collection_iterator.php | 8 |
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) |