title: Runtime Notice: Declaration of in symfony2
body: <p>I develop on to different systems. On of them using PHP 5.4 and on the other i have PHP version 5.5.9.</p>
  
  <p>If I open my project with the 5.4 Version all is good and no error is report. But if I try to open the same project with PHP 5.5.9 I got the following error and symfony stop:</p>
  
  <blockquote>
    <p>ContextErrorException: Runtime Notice: Declaration of Event\UserBundle\Manager\EventManager::getRepository() should be compatible with Event\UserBundle\Manager\AbstractManager::getRepository($entity = NULL) in ...</p>
  </blockquote>
  
  <p>Now i read that the php strict warning can be produce this error. But in my PHP.ini error settings are this: </p>
  
  <p><code>E_ALL &amp; ~E_DEPRECATED &amp; ~E_STRICT</code></p>
  
  <p>Anyone can help me to fix this problem?</p>