mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Fixes #16151: Change of scope for method getTableNameAndAlias()
This commit is contained in:
committed by
Alexander Makarov
parent
a8bfe8bbe6
commit
7119ff5756
@ -575,9 +575,9 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
/**
|
||||
* Returns the table name and the table alias for [[modelClass]].
|
||||
* @return array the table name and the table alias.
|
||||
* @internal
|
||||
* @since 2.0.16
|
||||
*/
|
||||
private function getTableNameAndAlias()
|
||||
protected function getTableNameAndAlias()
|
||||
{
|
||||
if (empty($this->from)) {
|
||||
$tableName = $this->getPrimaryTableName();
|
||||
|
||||
Reference in New Issue
Block a user