MatchingTypeInSwitchCaseConditionRule
in package
implements
Rule
Tags
Interfaces, Classes, Traits and Enums
- Rule
Table of Contents
- $printer : Standard
- __construct() : mixed
- getNodeType() : string
- processNode() : array<string|int, mixed>
Properties
$printer
private
Standard
$printer
Methods
__construct()
public
__construct(Standard $printer) : mixed
Parameters
- $printer : Standard
Return values
mixed —getNodeType()
public
getNodeType() : string
Return values
string —processNode()
public
processNode(Node $node, Scope $scope) : array<string|int, mixed>
Parameters
- $node : Node
- $scope : Scope