Fix #20617: Fix @return annotation for DataColumn::getDataCellValue()

This commit is contained in:
Maksim Spirkov
2025-10-15 19:57:12 +03:00
committed by GitHub
parent 80545100b3
commit 0f5e556246
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ Yii Framework 2 Change Log
- Bug #20608: Fix `@return` annotations for `yii\rest\Serializer` methods (mspirkov)
- Bug #20610: Fix `@var` annotation for `ActiveQueryTrait::$with` (mspirkov)
- Bug #20611: Fix `@return` annotations for `yii\i18n\GettextMoFile` methods (mspirkov)
- Bug #20617: Fix `@return` annotation for `DataColumn::getDataCellValue()` (mspirkov)
2.0.53 June 27, 2025

View File

@ -240,7 +240,7 @@ class DataColumn extends Column
* @param mixed $model the data model
* @param mixed $key the key associated with the data model
* @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
* @return string|null the data cell value
*/
public function getDataCellValue($model, $key, $index)
{