Fixed Bug #61025 __invoke() visibility not honored

See bug https://bugs.php.net/bug.php?id=61025

This patch make __invoke() visibility consist with other magic methods.