[ticket/10820] remove unnecessary parentheses

PHPBB3-10820