Skip to content

Commit

Permalink
Fix casing of class name
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Aug 10, 2020
1 parent 8bcaa42 commit f9d35fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpParser/PrettyPrinter/Standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ protected function pExpr_MethodCall(Expr\MethodCall $node) {
. '(' . $this->pMaybeMultiline($node->args) . ')';
}

protected function pExpr_NullsafeMethodCall(Expr\NUllsafeMethodCall $node) {
protected function pExpr_NullsafeMethodCall(Expr\NullsafeMethodCall $node) {
return $this->pDereferenceLhs($node->var) . '?->' . $this->pObjectProperty($node->name)
. '(' . $this->pMaybeMultiline($node->args) . ')';
}
Expand Down

0 comments on commit f9d35fe

Please sign in to comment.