aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-14 09:42:32 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-14 09:42:32 +0200
commitd33ed1edf6d51534048265880099eac740116516 (patch)
treefbafdbd7c7c6660ffac7efa5b2dad07116b581f3
parent232a1c4fcbd8682e151f20f362f42f27fbd2f49c (diff)
downloadforums-d33ed1edf6d51534048265880099eac740116516.tar
forums-d33ed1edf6d51534048265880099eac740116516.tar.gz
forums-d33ed1edf6d51534048265880099eac740116516.tar.bz2
forums-d33ed1edf6d51534048265880099eac740116516.tar.xz
forums-d33ed1edf6d51534048265880099eac740116516.zip
[ticket/12575] Add missing property
PHPBB3-12575
-rw-r--r--phpBB/phpbb/di/service_collection.php7
1 files changed, 6 insertions, 1 deletions
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
@@ -21,6 +21,11 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
class service_collection extends \ArrayObject
{
/**
+ * @var \Symfony\Component\DependencyInjection\ContainerInterface
+ */
+ protected $container;
+
+ /**
* Constructor
*
* @param ContainerInterface $container Container object
@@ -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);