1
0
mirror of synced 2024-12-05 03:06:05 +03:00
This commit is contained in:
Tomáš Votruba 2015-04-17 10:12:18 +02:00
parent 5f18618355
commit a71f2ba76f

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);
}