From e7cf9fbb559ada02dc5d32df3ca2b0d1df08cf8a Mon Sep 17 00:00:00 2001 From: Slivo-fr Date: Thu, 9 May 2019 13:29:52 +0200 Subject: [PATCH] minor fixes --- src/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.php b/src/Utils.php index b23d6fa..06eb7b7 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -23,7 +23,7 @@ public static function writeFile($data, string $path, string $filename, string $ $file = fopen($path . $filename, $mode); - if ($file) { + if ($file != false) { fwrite($file, $data); fclose($file); } else {