OperandsInArithmeticAdditionRule
in package
implements
Rule
Interfaces, Classes, Traits and Enums
- Rule
Table of Contents
- $helper : OperatorRuleHelper
- __construct() : mixed
- getNodeType() : string
- processNode() : array<string|int, string>
Properties
$helper
private
OperatorRuleHelper
$helper
Methods
__construct()
public
__construct(OperatorRuleHelper $helper) : mixed
Parameters
- $helper : OperatorRuleHelper
Return values
mixed —getNodeType()
public
getNodeType() : string
Return values
string —processNode()
public
processNode(BooleanAnd $node, Scope $scope) : array<string|int, string>
Parameters
- $node : BooleanAnd
- $scope : Scope
Return values
array<string|int, string> —errors