Fixed php block

Refs http://symfony.com/doc/current/cookbook/security/voters_data_permission.html#creating-the-custom-voter