Improve reflection param/return types in console\Controller (#19431)

This commit is contained in:
Brandon Kelly
2022-06-17 10:21:44 -07:00
committed by GitHub
parent 45519d3c18
commit 4c1cae3d6d

View File

@ -680,7 +680,7 @@ class Controller extends \yii\base\Controller
/**
* @param Action $action
* @return \ReflectionMethod
* @return \ReflectionFunctionAbstract
*/
protected function getActionMethodReflection($action)
{
@ -697,7 +697,7 @@ class Controller extends \yii\base\Controller
/**
* Parses the comment block into tags.
* @param \Reflector $reflection the comment block
* @param \ReflectionClass|\ReflectionProperty|\ReflectionFunctionAbstract $reflection the comment block
* @return array the parsed tags
*/
protected function parseDocCommentTags($reflection)
@ -725,7 +725,7 @@ class Controller extends \yii\base\Controller
/**
* Returns the first line of docblock.
*
* @param \Reflector $reflection
* @param \ReflectionClass|\ReflectionProperty|\ReflectionFunctionAbstract $reflection
* @return string
*/
protected function parseDocCommentSummary($reflection)
@ -741,7 +741,7 @@ class Controller extends \yii\base\Controller
/**
* Returns full description from the docblock.
*
* @param \Reflector $reflection
* @param \ReflectionClass|\ReflectionProperty|\ReflectionFunctionAbstract $reflection
* @return string
*/
protected function parseDocCommentDetail($reflection)