Update Nif.php

update to symfony standars