#1316 - removing useless null
check (redundant with isset()
), cs cleanups
This commit is contained in:
parent
4095bbaa92
commit
648fde8914
@ -97,10 +97,13 @@ class DefaultQuoteStrategy implements QuoteStrategy
|
||||
public function getJoinTableName(array $association, ClassMetadata $class, AbstractPlatform $platform)
|
||||
{
|
||||
$schema = '';
|
||||
if (isset($association['joinTable']['schema']) && null !== $association['joinTable']['schema']) {
|
||||
|
||||
if (isset($association['joinTable']['schema'])) {
|
||||
$schema = $association['joinTable']['schema'] . '.';
|
||||
}
|
||||
|
||||
$tableName = $association['joinTable']['name'];
|
||||
|
||||
if (isset($association['joinTable']['quoted'])) {
|
||||
$tableName = $platform->quoteIdentifier($tableName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user