CheckDispatchArgumentTypesCompatibleWithClassConstructorRule
class CheckDispatchArgumentTypesCompatibleWithClassConstructorRule implements Rule
Methods
__construct(ReflectionProvider $reflectionProvider, FunctionCallParametersCheck $check, string $dispatchableClass)
Create a new rule instance.
string
getNodeType()
Get the node type the rule inspects.
array
processNode(Node $node, Scope $scope)
Check the dispatch arguments against the dispatched class's constructor.
Details
at line 36
__construct(ReflectionProvider $reflectionProvider, FunctionCallParametersCheck $check, string $dispatchableClass)
Create a new rule instance.
at line 46
string
getNodeType()
Get the node type the rule inspects.
at line 54
array
processNode(Node $node, Scope $scope)
Check the dispatch arguments against the dispatched class's constructor.