Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Unzip.php')
-rw-r--r--core/Unzip.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Unzip.php b/core/Unzip.php
index 547a1a84a5..ffef2add15 100644
--- a/core/Unzip.php
+++ b/core/Unzip.php
@@ -29,16 +29,18 @@ class Unzip
{
switch ($name) {
case 'ZipArchive':
- if (class_exists('ZipArchive', false))
+ if (class_exists('ZipArchive', false)) {
return new ZipArchive($filename);
+ }
break;
case 'tar.gz':
return new Tar($filename, 'gz');
case 'tar.bz2':
return new Tar($filename, 'bz2');
case 'gz':
- if (function_exists('gzopen'))
+ if (function_exists('gzopen')) {
return new Gzip($filename);
+ }
break;
case 'PclZip':
default: