IdoQuery: Fix method name case and var name type

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 10:49:02 +02:00 committed by raviks789
parent edb9500805
commit 9f3a9a006e
1 changed files with 4 additions and 4 deletions

View File

@ -449,7 +449,7 @@ abstract class IdoQuery extends DbQuery
{ {
$this->requireColumn($alias); $this->requireColumn($alias);
if ($this->isCustomvar($alias)) { if ($this->isCustomVar($alias)) {
$column = $this->getCustomvarColumnName($alias); $column = $this->getCustomvarColumnName($alias);
} elseif ($this->hasAliasName($alias)) { } elseif ($this->hasAliasName($alias)) {
$column = $this->aliasToColumnName($alias); $column = $this->aliasToColumnName($alias);
@ -680,7 +680,7 @@ abstract class IdoQuery extends DbQuery
$this->requireColumn($alias); $this->requireColumn($alias);
if ($this->isCustomvar($alias)) { if ($this->isCustomVar($alias)) {
$column = $this->getCustomvarColumnName($alias); $column = $this->getCustomvarColumnName($alias);
} else { } else {
$column = $this->aliasToColumnName($alias); $column = $this->aliasToColumnName($alias);
@ -945,7 +945,7 @@ abstract class IdoQuery extends DbQuery
foreach ($extensions as $vTable => $cols) { foreach ($extensions as $vTable => $cols) {
if (! array_key_exists($vTable, $this->columnMap)) { if (! array_key_exists($vTable, $this->columnMap)) {
$this->hookedVirtualTables[$vTable] = $hook; $this->hookedVirtualTables[$vTable] = $hook;
$this->columMap[$vTable] = array(); $this->columnMap[$vTable] = array();
} }
foreach ($cols as $k => $v) { foreach ($cols as $k => $v) {
@ -1015,7 +1015,7 @@ abstract class IdoQuery extends DbQuery
continue; continue;
} }
$this->requireColumn($col); $this->requireColumn($col);
if ($this->isCustomvar($col)) { if ($this->isCustomVar($col)) {
$name = $this->getCustomvarColumnName($col); $name = $this->getCustomvarColumnName($col);
} else { } else {
$name = $this->aliasToColumnName($col); $name = $this->aliasToColumnName($col);