#615 - Removing unused assignment
This commit is contained in:
parent
264cd8ee11
commit
b989175754
@ -291,8 +291,8 @@ class SqlWalker implements TreeWalker
|
||||
$tableName .= ($dqlAlias) ? '@[' . $dqlAlias . ']' : '';
|
||||
|
||||
if ( ! isset($this->tableAliasMap[$tableName])) {
|
||||
$tablePrefixAlias = preg_match('/[a-z]/i', $tableName[0]) ? strtolower($tableName[0]) : 't';
|
||||
$this->tableAliasMap[$tableName] = $tablePrefixAlias . $this->tableAliasCounter++ . '_';
|
||||
$this->tableAliasMap[$tableName] = (preg_match('/[a-z]/i', $tableName[0]) ? strtolower($tableName[0]) : 't')
|
||||
. $this->tableAliasCounter++ . '_';
|
||||
}
|
||||
|
||||
return $this->tableAliasMap[$tableName];
|
||||
|
Loading…
x
Reference in New Issue
Block a user