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