mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 02:28:35 +08:00 
			
		
		
		
	Fix #20617: Fix @return annotation for DataColumn::getDataCellValue()
				
					
				
			This commit is contained in:
		| @ -61,6 +61,7 @@ Yii Framework 2 Change Log | |||||||
| - Bug #20608: Fix `@return` annotations for `yii\rest\Serializer` methods (mspirkov) | - Bug #20608: Fix `@return` annotations for `yii\rest\Serializer` methods (mspirkov) | ||||||
| - Bug #20610: Fix `@var` annotation for `ActiveQueryTrait::$with` (mspirkov) | - Bug #20610: Fix `@var` annotation for `ActiveQueryTrait::$with` (mspirkov) | ||||||
| - Bug #20611: Fix `@return` annotations for `yii\i18n\GettextMoFile` methods (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 | 2.0.53 June 27, 2025 | ||||||
|  | |||||||
| @ -240,7 +240,7 @@ class DataColumn extends Column | |||||||
|      * @param mixed $model the data model |      * @param mixed $model the data model | ||||||
|      * @param mixed $key the key associated with 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]]. |      * @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) |     public function getDataCellValue($model, $key, $index) | ||||||
|     { |     { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Maksim Spirkov
					Maksim Spirkov