1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13450] Type-hint return value of $phpbb_container->get()

PHPBB3-13450
This commit is contained in:
Gaëtan Muller
2015-01-03 11:39:29 +01:00
parent ef1be6e247
commit b5544b2f47
72 changed files with 253 additions and 14 deletions

View File

@@ -84,6 +84,7 @@ class install_update extends module
$phpbb_container = $phpbb_container_builder->get_container();
// Writes into global $cache
/* @var $cache \phpbb\cache\service */
$cache = $phpbb_container->get('cache');
$this->tpl_name = 'install_update';
@@ -161,6 +162,7 @@ class install_update extends module
));
// Get current and latest version
/* @var $version_helper \phpbb\version_helper */
$version_helper = $phpbb_container->get('version_helper');
try
{
@@ -519,6 +521,8 @@ class install_update extends module
if ($all_up_to_date)
{
global $phpbb_container;
/* @var $phpbb_log \phpbb\log\log_interface */
$phpbb_log = $phpbb_container->get('log');
// Add database update to log