Fixes #16151: Change of scope for method getTableNameAndAlias()

This commit is contained in:
Evgeniy Moiseenko
2018-09-19 19:31:43 +03:00
committed by Alexander Makarov
parent a8bfe8bbe6
commit 7119ff5756
2 changed files with 3 additions and 2 deletions

View File

@ -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();