Curly brackets don't always have a scope_closer

Fixes a PHP notice @mbarany was getting when sniffing
classes/Controller.php