mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-21 16:01:40 +02:00
[ticket/13450] Type-hint return value of $phpbb_container->get()
PHPBB3-13450
This commit is contained in:
@@ -238,6 +238,8 @@ abstract class profilefield_base_migration extends \phpbb\db\migration\migration
|
||||
if ($profile_row === null)
|
||||
{
|
||||
global $phpbb_container;
|
||||
|
||||
/* @var $manager \phpbb\profilefields\manager */
|
||||
$manager = $phpbb_container->get('profilefields.manager');
|
||||
$profile_row = $manager->build_insert_sql_array(array());
|
||||
}
|
||||
|
Reference in New Issue
Block a user