fixed better format and correct php docs following Symfony2 standard