aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/session.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-03 11:39:29 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-01-12 20:19:07 +0100
commitb5544b2f471ce4c93b08d19919ab062725545ce8 (patch)
treeb78ad7979818490cfe3e2b1a7371bc84481b9e23 /phpBB/phpbb/session.php
parentef1be6e247cf01a99e68ec85600a80fd62ca9a75 (diff)
downloadforums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.gz
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.bz2
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.tar.xz
forums-b5544b2f471ce4c93b08d19919ab062725545ce8.zip
[ticket/13450] Type-hint return value of $phpbb_container->get()
PHPBB3-13450
Diffstat (limited to 'phpBB/phpbb/session.php')
-rw-r--r--phpBB/phpbb/session.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php
index 0a6a18ffbe..5b9fb6d835 100644
--- a/phpBB/phpbb/session.php
+++ b/phpBB/phpbb/session.php
@@ -409,6 +409,7 @@ class session
$session_expired = false;
// Check whether the session is still valid if we have one
+ /* @var $provider_collection \phpbb\auth\provider_collection */
$provider_collection = $phpbb_container->get('auth.provider_collection');
$provider = $provider_collection->get_provider();
@@ -578,6 +579,7 @@ class session
}
}
+ /* @var $provider_collection \phpbb\auth\provider_collection */
$provider_collection = $phpbb_container->get('auth.provider_collection');
$provider = $provider_collection->get_provider();
$this->data = $provider->autologin();
@@ -910,6 +912,7 @@ class session
$db->sql_query($sql);
// Allow connecting logout with external auth method logout
+ /* @var $provider_collection \phpbb\auth\provider_collection */
$provider_collection = $phpbb_container->get('auth.provider_collection');
$provider = $provider_collection->get_provider();
$provider->logout($this->data, $new_session);
@@ -1036,6 +1039,7 @@ class session
}
// only called from CRON; should be a safe workaround until the infrastructure gets going
+ /* @var $captcha_factory \phpbb\captcha\factory */
$captcha_factory = $phpbb_container->get('captcha.factory');
$captcha_factory->garbage_collect($config['captcha_plugin']);