[ticket/12074] Update the visibility of the constructor

PHPBB3-12074