1
0
mirror of synced 2024-12-04 18:56:06 +03:00

Merge pull request #1384 from TomasVotruba/patch-1

cs
This commit is contained in:
Steve Müller 2015-04-18 11:07:17 +02:00
commit b8ef6cfd2f

View File

@ -50,8 +50,7 @@ class IdentityGenerator extends AbstractIdGenerator
/**
* {@inheritDoc}
*/
public function generate(
EntityManager $em, $entity)
public function generate(EntityManager $em, $entity)
{
return (int)$em->getConnection()->lastInsertId($this->sequenceName);
}