fixed PHP warnings
fixed PHP warnings

mikeSimonson/DoctrineBundle,chrisguitarguy/DoctrineBundle,Soullivaneuh/DoctrineBundle,OskarStark/DoctrineBundle,dunglas/DoctrineBundle,hacfi/DoctrineBundle,fabpot/DoctrineBundle,nicolas-grekas/DoctrineBundle,stof/DoctrineBundle,mikeSimonson/DoctrineBundle,OskarStark/DoctrineBundle,gencer/DoctrineBundle,hacfi/DoctrineBundle,skafandri/DoctrineBundle,javiereguiluz/DoctrineBundle,hason/DoctrineBundle,skafandri/DoctrineBundle,fabpot/DoctrineBundle,fervo/DoctrineBundle,chrisguitarguy/DoctrineBundle,gencer/DoctrineBundle,javiereguiluz/DoctrineBundle,nicolas-grekas/DoctrineBundle,lafourchette/DoctrineBundle,Soullivaneuh/DoctrineBundle,fervo/DoctrineBundle,doctrine/DoctrineBundle,hason/DoctrineBundle