Skip to content

Commit

Permalink
Merge pull request #534 from ruudk/patch-1
Browse files Browse the repository at this point in the history
Make sure stubs end with newline
  • Loading branch information
lyrixx authored Oct 21, 2024
2 parents 551c03e + 7e1265a commit ed0afed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stub/StubsGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private function generateStubs(string $dest): void
],
]));

$code = (new Standard())->prettyPrintFile($stmts);
$code = (new Standard())->prettyPrintFile($stmts) . \PHP_EOL;

file_put_contents($dest, $code);
}
Expand Down

0 comments on commit ed0afed

Please sign in to comment.