duplicateVariableMessage() static public method

static public duplicateVariableMessage ( $variableName )
 private function duplicateVariable($name, $l1, $c1, $l2, $c2)
 {
     return FormattedError::create(UniqueVariableNames::duplicateVariableMessage($name), [new SourceLocation($l1, $c1), new SourceLocation($l2, $c2)]);
 }