Skip to content

Commit

Permalink
Fix exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Oct 1, 2018
1 parent 13fe077 commit 64c769d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FileSystem/FileHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public static function appendTo($src, $dest, $newline = false) {

// Close the files.
if (false === @fclose($reader)) {
throw new IOException(sprintf("Failed to open \"%s\"", $src));
throw new IOException(sprintf("Failed to close \"%s\"", $src));
}
if (false === @fclose($writer)) {
throw new IOException(sprintf("Failed to open \"%s\"", $dest));
throw new IOException(sprintf("Failed to close \"%s\"", $dest));
}
}

Expand Down

0 comments on commit 64c769d

Please sign in to comment.