PHP Class PHPStan\Rules\Methods\ReturnTypeRule

Inheritance: implements PHPStan\Rules\Rule
Show file Open project: phpstan/phpstan

Public Methods

Method Description
__construct ( FunctionReturnTypeCheck $returnTypeCheck )
getNodeType ( ) : string
processNode ( PhpParser\Node $node, Scope $scope ) : array

Method Details

__construct() public method

public __construct ( FunctionReturnTypeCheck $returnTypeCheck )
$returnTypeCheck PHPStan\Rules\FunctionReturnTypeCheck

getNodeType() public method

public getNodeType ( ) : string
return string

processNode() public method

public processNode ( PhpParser\Node $node, Scope $scope ) : array
$node PhpParser\Node
$scope PHPStan\Analyser\Scope
return array