Browse Source

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

tags/2.0.11
Brandon Kelly 8 years ago committed by Alexander Makarov
parent
commit
5609e918de
  1. 2
      framework/base/Controller.php
  2. 2
      framework/db/ActiveRelationTrait.php
  3. 2
      framework/db/QueryTrait.php
  4. 2
      framework/web/UserEvent.php
  5. 2
      framework/widgets/ActiveForm.php

2
framework/base/Controller.php

@ -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;
/**

2
framework/db/ActiveRelationTrait.php

@ -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
*/

2
framework/db/QueryTrait.php

@ -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()]].
*/

2
framework/web/UserEvent.php

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

2
framework/widgets/ActiveForm.php

@ -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 = '';

Loading…
Cancel
Save