1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Better indentation for generated class

This commit is contained in:
Asmir Mustafic 2011-10-19 09:07:18 +02:00
parent 0b1f6e3539
commit e19fd756cb

View File

@ -406,7 +406,7 @@ public function <methodName>()
}
if ($collections) {
return $this->_prefixCodeWithSpaces(str_replace("<collections>", implode("\n", $collections), self::$_constructorMethodTemplate));
return $this->_prefixCodeWithSpaces(str_replace("<collections>", implode("\n".$this->_spaces, $collections), self::$_constructorMethodTemplate));
}
return '';