From 8f7a8849758791a5a57ea83d18b93a92aab0d854 Mon Sep 17 00:00:00 2001 From: Edmur Cardoso Date: Thu, 20 Dec 2018 01:05:24 -0200 Subject: [PATCH] warning fix on destruct event --- src/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/File.php b/src/File.php index 9541d0d..f269160 100644 --- a/src/File.php +++ b/src/File.php @@ -52,7 +52,7 @@ public function open() public function close() { - fclose($this->handle); + @fclose($this->handle); return $this; }