Commit 3130aadb by Carsten Brandt

fixed conflicting property declaration

parent 01465966
......@@ -8,8 +8,6 @@
namespace yii\db;
use yii\base\InvalidConfigException;
/**
* ActiveRelation represents a relation between two Active Record classes.
*
......@@ -22,6 +20,9 @@ use yii\base\InvalidConfigException;
*
* If a relation involves a pivot table, it may be specified by [[via()]] or [[viaTable()]] method.
*
* @property array|ActiveRelation $via the query associated with the pivot table. Please call [[via()]]
* or [[viaTable()]] to set this property instead of directly setting it.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
......@@ -30,13 +31,6 @@ class ActiveRelation extends ActiveQuery
use \yii\ar\ActiveRelation;
/**
* @var array|ActiveRelation the query associated with the pivot table. Please call [[via()]]
* or [[viaTable()]] to set this property instead of directly setting it.
*/
public $via;
/**
* Specifies the pivot table.
* @param string $tableName the name of the pivot table.
* @param array $link the link between the pivot table and the table associated with [[primaryModel]].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment