[task/composer-compatibility] Add type to functional test

PHPBB3-11840