PHP Class PHPStan\Rules\Classes\TypesAssignedToPropertiesRule

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

Public Methods

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

Private Methods

Method Description
describeProperty ( PhpParser\Node\Expr\PropertyFetch | PhpParser\Node\Expr\StaticPropertyFetch $propertyFetch, Scope $scope ) : string | null

Method Details

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