Skip to content

Commit

Permalink
find and replace feature (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: rahul <[email protected]>
  • Loading branch information
rcsofttech85 authored Sep 14, 2023
1 parent 55db14e commit 6efd3fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FileHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ private function renameTempFile(string $tempFilePath, string $filename): void

private function cleanupTempFile(string $tempFilePath): void
{
unlink($tempFilePath);
if (file_exists($tempFilePath)) {
unlink($tempFilePath);
}
}

private function createTempFileWithHeaders(array $headers): string
Expand Down

0 comments on commit 6efd3fc

Please sign in to comment.