Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Slivo-fr committed May 9, 2019
1 parent f55982e commit e7cf9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e7cf9fb

Please sign in to comment.