1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 20:24:08 +02:00

[ticket/16955] Resolve psalm issues in di files

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-26 14:07:53 +01:00
parent cd026245fe
commit c4d3e1aa7b
4 changed files with 11 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ class container_builder
/**
* The container under construction
*
* @var ContainerBuilder
* @var \phpbb_cache_container|ContainerBuilder
*/
protected $container;
@@ -449,6 +449,7 @@ class container_builder
$ext_container->register('cache.driver', '\\phpbb\\cache\\driver\\dummy');
$ext_container->compile();
/** @var \phpbb\config\config $config */
$config = $ext_container->get('config');
if (@is_file($this->phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php'))
{