diff --git a/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php b/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php index 1f35cbf1..ff8fceb6 100644 --- a/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php +++ b/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php @@ -94,10 +94,7 @@ final class ArcanistFormattedStringXHPASTLinterRule $argv = array($format->evalStatic()) + array_fill(0, $argc, null); try { - xsprintf( - 'ArcanistFormattedStringXHPASTLinterRule::processXsprintfCallback', - null, - $argv); + xsprintf(array(__CLASS__, 'processXsprintfCallback'), null, $argv); } catch (BadFunctionCallException $ex) { $this->raiseLintAtNode( $call,