Skip to content

Commit 68623e9

Browse files
committed
Add missing dots at the end of exception messages
1 parent 0a0d3b4 commit 68623e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Filesystem.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function mkdir($dirs, $mode = 0777)
103103
if (self::$lastError) {
104104
throw new IOException(sprintf('Failed to create "%s": %s.', $dir, self::$lastError), 0, null, $dir);
105105
}
106-
throw new IOException(sprintf('Failed to create "%s"', $dir), 0, null, $dir);
106+
throw new IOException(sprintf('Failed to create "%s".', $dir), 0, null, $dir);
107107
}
108108
}
109109
}
@@ -362,7 +362,7 @@ public function hardlink($originFile, $targetFiles)
362362
}
363363

364364
if (!is_file($originFile)) {
365-
throw new FileNotFoundException(sprintf('Origin file "%s" is not a file', $originFile));
365+
throw new FileNotFoundException(sprintf('Origin file "%s" is not a file.', $originFile));
366366
}
367367

368368
foreach ($this->toIterable($targetFiles) as $targetFile) {

0 commit comments

Comments
 (0)