fix CS
This commit is contained in:
parent
4be25cb330
commit
6b7e588da5
@ -415,7 +415,7 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Completes the ID generator mapping. If "auto" is specified we choose the generator
|
* Completes the ID generator mapping. If "auto" is specified we choose the generator
|
||||||
* most appropriate for the targeted database platform.
|
* 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);
|
$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 BigIntegerIdentityGenerator($sequenceName)
|
||||||
: new IdentityGenerator($sequenceName);
|
: new IdentityGenerator($sequenceName);
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ class DefaultEntityListenerResolver implements EntityListenerResolver
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}"
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function register($object)
|
public function register($object)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user