From 72310dd5a3ac059119d9be05ef173624bd6bbc76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brikou=20Carr=C3=A9?= Date: Wed, 27 Nov 2013 15:05:37 +0100 Subject: [PATCH] s/Elseif/ElseIf/ --- lib/PHPParser/PrettyPrinter/Default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PHPParser/PrettyPrinter/Default.php b/lib/PHPParser/PrettyPrinter/Default.php index ad2b4b7..416ea3f 100644 --- a/lib/PHPParser/PrettyPrinter/Default.php +++ b/lib/PHPParser/PrettyPrinter/Default.php @@ -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" . '}'; }