Commit c5daa231 authored by Jonathan.Wage's avatar Jonathan.Wage

Fix to generated accessors.

parent 3048620a
...@@ -178,9 +178,9 @@ END; ...@@ -178,9 +178,9 @@ END;
$ret .= "\t}\n"; $ret .= "\t}\n";
// setters // setters
$ret .= "\n\tpublic function set".Doctrine::classify($name)."()\n"; $ret .= "\n\tpublic function set".Doctrine::classify($name)."(\${$name})\n";
$ret .= "\t{\n"; $ret .= "\t{\n";
$ret .= "\t\treturn \$this->set('{$name}');\n"; $ret .= "\t\treturn \$this->set('{$name}', \${$name});\n";
$ret .= "\t}\n"; $ret .= "\t}\n";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment