Skip to content

Commit

Permalink
SCA fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
devtronic committed Nov 2, 2022
1 parent 91111e9 commit 0397759
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Filesystem/FileHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0397759

Please sign in to comment.