1
0
mirror of synced 2025-03-23 16:33:54 +03:00
This commit is contained in:
Fabio B. Silva 2012-08-19 22:43:27 -03:00 committed by fabio.silva
parent 4be25cb330
commit 6b7e588da5
2 changed files with 3 additions and 3 deletions

View File

@ -415,7 +415,7 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
}
}
/**
/**
* Completes the ID generator mapping. If "auto" is specified we choose the generator
* most appropriate for the targeted database platform.
*
@ -462,7 +462,7 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
$sequenceName = $this->em->getConfiguration()->getQuoteStrategy()->getSequenceName($definition, $class, $this->targetPlatform);
}
$generator = ($fieldName && $class->fieldMappings[$fieldName]['type'] === "bigint")
$generator = ($fieldName && $class->fieldMappings[$fieldName]['type'] === 'bigint')
? new BigIntegerIdentityGenerator($sequenceName)
: new IdentityGenerator($sequenceName);

View File

@ -50,7 +50,7 @@ class DefaultEntityListenerResolver implements EntityListenerResolver
}
/**
* {@inheritdoc}"
* {@inheritdoc}
*/
public function register($object)
{