[ticket/11388] Remove typehints (causing tests to fail)

PHPBB3-11388