Skip to content

Commit

Permalink
fix generated code formatting (#1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelk authored and marcj committed Dec 4, 2016
1 parent ea869c7 commit 3fe9d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Propel/Generator/Builder/Om/ObjectBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5465,8 +5465,8 @@ protected function addCrossFKRemove(&$script, CrossForeignKeys $crossFKs)
*/
public function remove{$relatedObjectClassName}($signature)
{
if (\$this->get{$relCol}()->contains({$shortSignature})) { {$foreignObjectName} = new {$className}();
";
if (\$this->get{$relCol}()->contains({$shortSignature})) {
{$foreignObjectName} = new {$className}();";
foreach ($crossFKs->getCrossForeignKeys() as $crossFK) {
$relatedObjectClassName = $this->getFKPhpNameAffix($crossFK, $plural = false);
$lowerRelatedObjectClassName = lcfirst($relatedObjectClassName);
Expand Down

0 comments on commit 3fe9d62

Please sign in to comment.