aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compatibility.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2015-01-14 12:34:28 +0100
committerTristan Darricau <github@nicofuma.fr>2015-01-14 12:34:28 +0100
commit98937a7a18dc605c6d3bb8a3f20f124ec71e058a (patch)
tree188b7b5c0741a7fd5ea54d322b9f394a21c1fe28 /phpBB/includes/functions_compatibility.php
parent853733a0eb04f917fe3195ed9f36cfcf643deffd (diff)
parentb5544b2f471ce4c93b08d19919ab062725545ce8 (diff)
downloadforums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar
forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar.gz
forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar.bz2
forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.tar.xz
forums-98937a7a18dc605c6d3bb8a3f20f124ec71e058a.zip
Merge pull request #3289 from MGaetan89/ticket/13450
[ticket/13450] Type-hint return value of $phpbb_container->get() * MGaetan89/ticket/13450: [ticket/13450] Type-hint return value of $phpbb_container->get()
Diffstat (limited to 'phpBB/includes/functions_compatibility.php')
-rw-r--r--phpBB/includes/functions_compatibility.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions_compatibility.php b/phpBB/includes/functions_compatibility.php
index 43952ae57a..c2da02456b 100644
--- a/phpBB/includes/functions_compatibility.php
+++ b/phpBB/includes/functions_compatibility.php
@@ -59,6 +59,7 @@ function phpbb_hash($password)
{
global $phpbb_container;
+ /* @var $passwords_manager \phpbb\passwords\manager */
$passwords_manager = $phpbb_container->get('passwords.manager');
return $passwords_manager->hash($password);
}
@@ -77,6 +78,7 @@ function phpbb_check_hash($password, $hash)
{
global $phpbb_container;
+ /* @var $passwords_manager \phpbb\passwords\manager */
$passwords_manager = $phpbb_container->get('passwords.manager');
return $passwords_manager->check($password, $hash);
}
@@ -97,6 +99,7 @@ function phpbb_clean_path($path)
if (!$phpbb_path_helper && $phpbb_container)
{
+ /* @var $phpbb_path_helper \phpbb\path_helper */
$phpbb_path_helper = $phpbb_container->get('path_helper');
}
else if (!$phpbb_path_helper)