mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Improve reflection param/return types in console\Controller (#19431)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user