aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/di/service_collection_iterator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/di/service_collection_iterator.php b/phpBB/phpbb/di/service_collection_iterator.php
index 6e8e1de7a4..54aefca1f7 100644
--- a/phpBB/phpbb/di/service_collection_iterator.php
+++ b/phpBB/phpbb/di/service_collection_iterator.php
@@ -45,7 +45,7 @@ class service_collection_iterator extends \ArrayIterator
public function offsetGet($index)
{
$task = parent::offsetGet($index);
- if ($task == null)
+ if ($task === null)
{
$task = $this->container->get($index);
$this->offsetSet($index, $task);
@@ -75,7 +75,7 @@ class service_collection_iterator extends \ArrayIterator
public function current()
{
$task = parent::current();
- if ($task == null)
+ if ($task === null)
{
$name = $this->key();
$task = $this->container->get($name);