mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-01 03:26:36 +08:00 
			
		
		
		
	Remove array shapes from @return annotations (#20580)
				
					
				
			This commit is contained in:
		| @ -203,7 +203,9 @@ class Controller extends \yii\base\Controller | ||||
|      * if the function parameter has a single named type. | ||||
|      * @param mixed $param The parameter value. | ||||
|      * @param \ReflectionNamedType $type | ||||
|      * @return array{0: mixed, 1: bool} The resulting parameter value and a boolean indicating whether the value is valid. | ||||
|      * @return array The resulting parameter value and a boolean indicating whether the value is valid. | ||||
|      * | ||||
|      * @phpstan-return array{mixed, bool} | ||||
|      */ | ||||
|     private function filterSingleTypeActionParam($param, $type) | ||||
|     { | ||||
| @ -248,7 +250,9 @@ class Controller extends \yii\base\Controller | ||||
|      * if the function parameter has a union type. | ||||
|      * @param mixed $param The parameter value. | ||||
|      * @param \ReflectionUnionType $type | ||||
|      * @return array{0: mixed, 1: bool} The resulting parameter value and a boolean indicating whether the value is valid. | ||||
|      * @return array The resulting parameter value and a boolean indicating whether the value is valid. | ||||
|      * | ||||
|      * @phpstan-return array{mixed, bool} | ||||
|      */ | ||||
|     private function filterUnionTypeActionParam($param, $type) | ||||
|     { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Maksim Spirkov
					Maksim Spirkov