Skip to content

Commit

Permalink
update phpdoc annotation in BaseActiveRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Apr 13, 2017
1 parent 928a305 commit 0f78008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/db/BaseActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public function __unset($name)
public function hasOne($class, $link)
{
/* @var $class ActiveRecordInterface */
/* @var $query ActiveQuery */
/* @var $query ActiveQueryInterface */
$query = $class::find();
$query->primaryModel = $this;
$query->link = $link;
Expand Down Expand Up @@ -412,7 +412,7 @@ public function hasOne($class, $link)
public function hasMany($class, $link)
{
/* @var $class ActiveRecordInterface */
/* @var $query ActiveQuery */
/* @var $query ActiveQueryInterface */
$query = $class::find();
$query->primaryModel = $this;
$query->link = $link;
Expand Down

0 comments on commit 0f78008

Please sign in to comment.