[ticket/12657] Fix the order of the parameters for the constructor

PHPBB3-12657