PHP Class PHPStan\Rules\Classes\ExistingClassesInPropertiesRule

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

Public Methods

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

Method Details

__construct() public method

public __construct ( Broker $broker )
$broker PHPStan\Broker\Broker

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