Fixed wrong method call in DoctrineListener.