Fix Stmt_DeclareDeclare pretty printing

This commit is contained in:
nikic 2011-10-16 13:38:23 +02:00
parent df657b703e
commit 527265cdf7

View File

@ -506,7 +506,7 @@ class PHPParser_PrettyPrinter_Zend extends PHPParser_PrettyPrinterAbstract
}
public function pStmt_DeclareDeclare(PHPParser_Node_Stmt_DeclareDeclare $node) {
return $node->key . ' = ' . $node->value;
return $node->key . ' = ' . $this->p($node->value);
}
// Control flow