From d33ed1edf6d51534048265880099eac740116516 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 14 Jun 2014 09:42:32 +0200 Subject: [ticket/12575] Add missing property PHPBB3-12575 --- phpBB/phpbb/di/service_collection.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'phpBB/phpbb') diff --git a/phpBB/phpbb/di/service_collection.php b/phpBB/phpbb/di/service_collection.php index b64d8c9dcd..a8eeeab8bb 100644 --- a/phpBB/phpbb/di/service_collection.php +++ b/phpBB/phpbb/di/service_collection.php @@ -20,6 +20,11 @@ use Symfony\Component\DependencyInjection\ContainerInterface; */ class service_collection extends \ArrayObject { + /** + * @var \Symfony\Component\DependencyInjection\ContainerInterface + */ + protected $container; + /** * Constructor * @@ -59,7 +64,7 @@ class service_collection extends \ArrayObject public function offsetGet($index) { $task = parent::offsetGet($index); - if ($task == null) + if ($task === null) { $task = $this->container->get($index); $this->offsetSet($index, $task); -- cgit v1.2.1