Skip to content

Commit 4c1cae3

Browse files
authored
Improve reflection param/return types in console\Controller (#19431)
1 parent 45519d3 commit 4c1cae3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

framework/console/Controller.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ public function getActionOptionsHelp($action)
680680

681681
/**
682682
* @param Action $action
683-
* @return \ReflectionMethod
683+
* @return \ReflectionFunctionAbstract
684684
*/
685685
protected function getActionMethodReflection($action)
686686
{
@@ -697,7 +697,7 @@ protected function getActionMethodReflection($action)
697697

698698
/**
699699
* Parses the comment block into tags.
700-
* @param \Reflector $reflection the comment block
700+
* @param \ReflectionClass|\ReflectionProperty|\ReflectionFunctionAbstract $reflection the comment block
701701
* @return array the parsed tags
702702
*/
703703
protected function parseDocCommentTags($reflection)
@@ -725,7 +725,7 @@ protected function parseDocCommentTags($reflection)
725725
/**
726726
* Returns the first line of docblock.
727727
*
728-
* @param \Reflector $reflection
728+
* @param \ReflectionClass|\ReflectionProperty|\ReflectionFunctionAbstract $reflection
729729
* @return string
730730
*/
731731
protected function parseDocCommentSummary($reflection)
@@ -741,7 +741,7 @@ protected function parseDocCommentSummary($reflection)
741741
/**
742742
* Returns full description from the docblock.
743743
*
744-
* @param \Reflector $reflection
744+
* @param \ReflectionClass|\ReflectionProperty|\ReflectionFunctionAbstract $reflection
745745
* @return string
746746
*/
747747
protected function parseDocCommentDetail($reflection)

0 commit comments

Comments
 (0)