Skip to content

Commit

Permalink
Fix issue #3 - generated .php files now have a trailing newline.
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed Oct 16, 2013
1 parent a4a28fb commit 37fbb82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CyberSpectrum/Translation/Contao/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ public function save()
var_export($this->getValue($key), true)
);
}
$buffer .= PHP_EOL;
$res = fopen($this->filename, 'wb');
fputs($res, $buffer);

Expand Down

0 comments on commit 37fbb82

Please sign in to comment.