1
0
mirror of synced 2024-12-05 03:06:05 +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} * {@inheritDoc}
*/ */
public function generate( public function generate(EntityManager $em, $entity)
EntityManager $em, $entity)
{ {
return (int)$em->getConnection()->lastInsertId($this->sequenceName); return (int)$em->getConnection()->lastInsertId($this->sequenceName);
} }