Fixes #12055: Changed boolean to bool and integer to int in phpdoc

This commit is contained in:
Robert Korulczyk
2016-11-07 00:51:39 +01:00
committed by Alexander Makarov
parent 940f7c7cd4
commit 4aa935e69e
292 changed files with 1670 additions and 1670 deletions

View File

@ -53,7 +53,7 @@ class DataColumn extends Column
*/
public $label;
/**
* @var boolean whether the header label should be HTML-encoded.
* @var bool whether the header label should be HTML-encoded.
* @see label
* @since 2.0.1
*/
@ -81,7 +81,7 @@ class DataColumn extends Column
*/
public $format = 'text';
/**
* @var boolean whether to allow sorting by this column. If true and [[attribute]] is found in
* @var bool whether to allow sorting by this column. If true and [[attribute]] is found in
* the sort definition of [[GridView::dataProvider]], then the header cell of this column
* will contain a link that may trigger the sorting when being clicked.
*/
@ -201,7 +201,7 @@ class DataColumn extends Column
* Returns the data cell value.
* @param mixed $model the data model
* @param mixed $key the key associated with the data model
* @param integer $index the zero-based index of the data model among the models array returned by [[GridView::dataProvider]].
* @param int $index the zero-based index of the data model among the models array returned by [[GridView::dataProvider]].
* @return string the data cell value
*/
public function getDataCellValue($model, $key, $index)