Changeset 4591

Show
Ignore:
Timestamp:
06/29/08 02:23:55 (12 months ago)
Author:
jwage
Message:

Fixing spacing of generated code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Import/Builder.php

    r4590 r4591  
    350350                    . ' */' . PHP_EOL 
    351351                    . '%sclass %s extends %s' . PHP_EOL 
    352                     . '{' . PHP_EOL 
     352                    . '{' 
    353353                    . '%s' . PHP_EOL 
    354354                    . '%s' . PHP_EOL 
    355                     . '%s' . PHP_EOL 
    356                     . '}' . PHP_EOL; 
     355                    . '%s' 
     356                    . '}'; 
    357357    } 
    358358 
     
    512512        // If we have some code for the function then lets define it and return it 
    513513        if ($code) { 
    514             return PHP_EOL . '  public function setUp()' . PHP_EOL . '  {' . PHP_EOL . '    ' . $code . PHP_EOL . '  }'; 
     514            return '  public function setUp()' . PHP_EOL . '  {' . PHP_EOL . '    ' . $code . PHP_EOL . '  }'; 
    515515        } 
    516516    } 
     
    884884        } 
    885885 
     886        if ($tableDefinitionCode && $setUpCode) { 
     887            $setUpCode = PHP_EOL . $setUpCode; 
     888        } 
     889 
    886890        if ( ! isset($definition['generate_accessors']) || !$definition['generate_accessors']) { 
    887891          $definition['generate_accessors'] = $this->generateAccessors();