Skip to content

Commit

Permalink
Fix an invalid type hint in a model template (#267) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolyunya authored and samdark committed Apr 10, 2017
1 parent 9a4ce84 commit decd259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/model/default/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function attributeLabels()
<?php foreach ($relations as $name => $relation): ?>

/**
* @return \yii\db\ActiveQuery
* @return \yii\db\ActiveQueryInterface
*/
public function get<?= $name ?>()
{
Expand Down

0 comments on commit decd259

Please sign in to comment.