fixed indentation

This commit is contained in:
Robin Krahnen 2021-09-16 15:00:42 +02:00
parent fcebb74344
commit 7767091426

View file

@ -106,8 +106,8 @@ class SequenceGenerator
{ {
return (int) $this->entityManager->getConnection()->executeQuery( return (int) $this->entityManager->getConnection()->executeQuery(
'SELECT MAX(number) FROM ' 'SELECT MAX(number) FROM '
. $this->entityManager->getClassMetadata(Insert::class)->getTableName() . $this->entityManager->getClassMetadata(Insert::class)->getTableName()
. ' WHERE type = :type', . ' WHERE type = :type',
['type' => $this->inferTypeFromSource($type)] ['type' => $this->inferTypeFromSource($type)]
)->fetchAll(\PDO::FETCH_COLUMN)[0]; )->fetchAll(\PDO::FETCH_COLUMN)[0];
} }