From b057be8bbc011e2c05dd73c714d8d88f25118784 Mon Sep 17 00:00:00 2001 From: Matias Navarro Carter Date: Mon, 3 Oct 2022 16:47:43 +0100 Subject: [PATCH] fix: code style --- src/ResourceHelper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ResourceHelper.php b/src/ResourceHelper.php index f3c021d..8033382 100644 --- a/src/ResourceHelper.php +++ b/src/ResourceHelper.php @@ -72,6 +72,7 @@ private function innerRead(int $length): string if (feof($this->resource)) { throw new EndOfFile('Could not read bytes: End of file reached'); } + throw new Error('Could not read bytes: Unknown error.'); }