PHP Class PHPStan\Rules\Methods\ReturnTypeRule

Inheritance: implements PHPStan\Rules\Rule
Afficher le fichier Open project: phpstan/phpstan

Méthodes publiques

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

Method Details

__construct() public méthode

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

getNodeType() public méthode

public getNodeType ( ) : string
Résultat string

processNode() public méthode

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