[ticket/12901] Fix type hint

https://tracker.phpbb.com/browse/PHPBB3-12901