diff --git a/Utils/IO/Zip/Zip.php b/Utils/IO/Zip/Zip.php index 6e9c04e55..6e411b287 100644 --- a/Utils/IO/Zip/Zip.php +++ b/Utils/IO/Zip/Zip.php @@ -101,7 +101,7 @@ class Zip implements ArchiveInterface */ public static function unpack(string $source, string $destination) : bool { - if (!\is_file($source) || \is_dir($destination)) { + if (!\is_file($source) || !\is_dir($destination)) { return false; }