PHP Class PHPStan\Rules\Functions\ExistingClassesInTypehintsRule

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

Public Methods

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

Method Details

__construct() public method

public __construct ( FunctionDefinitionCheck $check )
$check PHPStan\Rules\FunctionDefinitionCheck

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