1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-27 04:14:44 +01:00

s/Elseif/ElseIf/

This commit is contained in:
Brikou Carré 2013-11-27 15:05:37 +01:00
parent 7f4ab26732
commit 72310dd5a3

View File

@ -571,7 +571,7 @@ class PHPParser_PrettyPrinter_Default extends PHPParser_PrettyPrinterAbstract
. (null !== $node->else ? $this->p($node->else) : '');
}
public function pStmt_Elseif(PHPParser_Node_Stmt_Elseif $node) {
public function pStmt_ElseIf(PHPParser_Node_Stmt_ElseIf $node) {
return ' elseif (' . $this->p($node->cond) . ') {'
. "\n" . $this->pStmts($node->stmts) . "\n" . '}';
}