mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
Fix compiler __construct gen in php
Reviewed By: dreiss Test Plan: Build payments git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665578 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d92ca7dcea
commit
dcdf25b003
@ -443,7 +443,7 @@ void t_php_generator::_generate_php_struct_definition(ofstream& out,
|
||||
indent() << "if (is_array($vals)) {" << endl;
|
||||
indent_up();
|
||||
if (oop_) {
|
||||
out << indent() << "parent::construct(self::$_TSPEC, $vals);" << endl;
|
||||
out << indent() << "parent::__construct(self::$_TSPEC, $vals);" << endl;
|
||||
} else {
|
||||
for (m_iter = members.begin(); m_iter != members.end(); ++m_iter) {
|
||||
out <<
|
||||
|
Loading…
Reference in New Issue
Block a user