OverwriteVariablesWithForeachRule
implements
Rule
Interfaces, Classes, Traits and Enums
- Rule
Table of Contents
-
getNodeType()
: string
-
processNode()
: array<string|int, string>
-
checkValueVar()
: array<string|int, string>
getNodeType()
public
getNodeType() : string
Return values
string
—
processNode()
public
processNode(Foreach_ $node, Scope $scope) : array<string|int, string>
Parameters
-
$node
: Foreach_
-
-
$scope
: Scope
-
Return values
array<string|int, string>
—
checkValueVar()
private
checkValueVar(Scope $scope, Expr $expr) : array<string|int, string>
Parameters
-
$scope
: Scope
-
-
$expr
: Expr
-
Return values
array<string|int, string>
—