PHP Class PHPSA\Analyzer\Pass\Statement\MethodCannotReturn

Inheritance: implements PHPSA\Analyzer\Pass\AnalyzerPassInterface, use trait PHPSA\Analyzer\Helper\DefaultMetadataPassTrait, use trait PHPSA\Analyzer\Helper\ResolveExpressionTrait
Show file Open project: ovr/phpsa

Public Methods

Method Description
getRegister ( ) : array
pass ( ClassMethod $methodStmt, Context $context ) : boolean

Method Details

getRegister() public method

public getRegister ( ) : array
return array

pass() public method

public pass ( ClassMethod $methodStmt, Context $context ) : boolean
$methodStmt PhpParser\Node\Stmt\ClassMethod
$context PHPSA\Context
return boolean