Fixed some malformed @var tags (#13468) [skip ci]

This commit is contained in:
Brandon Kelly
2017-01-30 00:42:52 -08:00
committed by Alexander Makarov
parent a3a868e427
commit 5609e918de
5 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ class Controller extends Component implements ViewContextInterface
*/
public $id;
/**
* @var Module $module the module that this controller belongs to.
* @var Module the module that this controller belongs to.
*/
public $module;
/**

View File

@ -397,7 +397,7 @@ trait ActiveRelationTrait
* Indexes buckets by column name.
*
* @param array $buckets
* @var string|callable $column the name of the column by which the query results should be indexed by.
* @param string|callable $indexBy the name of the column by which the query results should be indexed by.
* This can also be a callable (e.g. anonymous function) that returns the index value based on the given row data.
* @return array
*/

View File

@ -45,7 +45,7 @@ trait QueryTrait
*/
public $orderBy;
/**
* @var string|callable $column the name of the column by which the query results should be indexed by.
* @var string|callable the name of the column by which the query results should be indexed by.
* This can also be a callable (e.g. anonymous function) that returns the index value based on the given
* row data. For more details, see [[indexBy()]]. This property is only used by [[QueryInterface::all()|all()]].
*/

View File

@ -27,7 +27,7 @@ class UserEvent extends Event
*/
public $cookieBased;
/**
* @var int $duration number of seconds that the user can remain in logged-in status.
* @var int number of seconds that the user can remain in logged-in status.
* If 0, it means login till the user closes the browser or the session is manually destroyed.
*/
public $duration;

View File

@ -27,7 +27,7 @@ use yii\helpers\Json;
class ActiveForm extends Widget
{
/**
* @var array|string $action the form action URL. This parameter will be processed by [[\yii\helpers\Url::to()]].
* @var array|string the form action URL. This parameter will be processed by [[\yii\helpers\Url::to()]].
* @see method for specifying the HTTP method for this form.
*/
public $action = '';