Console Tool Refactoring

This commit is contained in:
mathias committed 2023-07-26 18:46:45 +02:00
1 parent 10d7b09c5f
commit 678a2e713b
1 file changed
+1 -2
+1 -2
View File
@@ -13,8 +13,7 @@ class CsvReader
private readonly string $filePath
) {
if (!file_exists($this->filePath)) {
$handle = fopen($this->filePath, 'wb');
fclose($handle);
throw new RuntimeException('Input file does not exist.');
}
}