Bug #61025 (__invoke() missing visibility and static checking)