OperandInArithmeticIncrementOrDecrementRule
in package
implements
Rule
Interfaces, Classes, Traits and Enums
- Rule
Table of Contents
- $helper : OperatorRuleHelper
- __construct() : mixed
- processNode() : array<string|int, string>
- describeOperation() : string
Properties
$helper
private
OperatorRuleHelper
$helper
Methods
__construct()
public
__construct(OperatorRuleHelper $helper) : mixed
Parameters
- $helper : OperatorRuleHelper
Return values
mixed —processNode()
public
processNode(PreInc|PreDec|PostInc|PostDec $node, Scope $scope) : array<string|int, string>
Parameters
Return values
array<string|int, string> —errors
describeOperation()
protected
abstract describeOperation() : string