1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Add new line to end of file

This commit is contained in:
Nick Masters 2012-10-30 22:42:01 +00:00
parent 0f92944edd
commit 0a2ba38e58

View File

@ -363,7 +363,7 @@ public function __construct()
$body = str_replace('<spaces>', $this->spaces, $body);
$last = strrpos($currentCode, '}');
return substr($currentCode, 0, $last) . $body . (strlen($body) > 0 ? "\n" : ''). "}";
return substr($currentCode, 0, $last) . $body . (strlen($body) > 0 ? "\n" : ''). "}\n";
}
/**