Add new line to end of file
This commit is contained in:
parent
0f92944edd
commit
0a2ba38e58
@ -363,7 +363,7 @@ public function __construct()
|
|||||||
$body = str_replace('<spaces>', $this->spaces, $body);
|
$body = str_replace('<spaces>', $this->spaces, $body);
|
||||||
$last = strrpos($currentCode, '}');
|
$last = strrpos($currentCode, '}');
|
||||||
|
|
||||||
return substr($currentCode, 0, $last) . $body . (strlen($body) > 0 ? "\n" : ''). "}";
|
return substr($currentCode, 0, $last) . $body . (strlen($body) > 0 ? "\n" : ''). "}\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user