[ticket/11495] Use constructor arguments over properties in implementation

PHPBB3-11495