mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
s/Elseif/ElseIf/
This commit is contained in:
parent
7f4ab26732
commit
72310dd5a3
@ -571,7 +571,7 @@ class PHPParser_PrettyPrinter_Default extends PHPParser_PrettyPrinterAbstract
|
|||||||
. (null !== $node->else ? $this->p($node->else) : '');
|
. (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) . ') {'
|
return ' elseif (' . $this->p($node->cond) . ') {'
|
||||||
. "\n" . $this->pStmts($node->stmts) . "\n" . '}';
|
. "\n" . $this->pStmts($node->stmts) . "\n" . '}';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user