Skip to content

Commit

Permalink
removed unnecessary .PHP_EOL at add() method in Zip.php
Browse files Browse the repository at this point in the history
  • Loading branch information
boryn authored and freekmurze committed Oct 17, 2023
1 parent 66913a8 commit 64f4b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tasks/Backup/Zip.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function add(string | iterable $files, string $nameInZip = null): self
}

if (is_file($file)) {
$this->zipFile->addFile($file, ltrim($nameInZip, DIRECTORY_SEPARATOR)).PHP_EOL;
$this->zipFile->addFile($file, ltrim($nameInZip, DIRECTORY_SEPARATOR));

if (is_int($compressionMethod)) {
$this->zipFile->setCompressionName(
Expand Down

0 comments on commit 64f4b81

Please sign in to comment.