diff --git a/src/Filesystem/FileHandler.php b/src/Filesystem/FileHandler.php index 8c708c6..45ed561 100644 --- a/src/Filesystem/FileHandler.php +++ b/src/Filesystem/FileHandler.php @@ -40,9 +40,9 @@ public function read(string $filename): ?string } $content = file_get_contents($filename); -// if ($content === false) { -// throw new \RuntimeException('Error while reading the file.'); -// } + if ($content === false) { + throw new \RuntimeException('Error while reading the file.'); + } return $content; }