Skip to content

Commit

Permalink
Fixed error message for StaticAccess, fixes #169.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyggen committed Nov 19, 2014
1 parent d68ea32 commit efa1dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/php/PHPMD/Rule/CleanCode/StaticAccess.php
Expand Up @@ -83,7 +83,7 @@ public function apply(AbstractNode $node)
continue;
}

$this->addViolation($methodCall, array($methodCall->getImage(), $methodCall->getImage()));
$this->addViolation($methodCall, array($className, $node->getName()));
}
}

Expand Down

0 comments on commit efa1dcd

Please sign in to comment.