Passed
Push — master ( c3ba90...7796f0 )
by 世昌
01:53
created
nebula/src/application/module/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
             $extension !== 'module') {
43 43
             return null;
44 44
         }
45
-        $zip=new ZipArchive;
45
+        $zip = new ZipArchive;
46 46
         if ($zip->open($path, ZipArchive::CHECKCONS)) {
47
-            $unzipPath = $unpackPath.'/'. pathinfo($path, PATHINFO_FILENAME) .'-'.substr(md5_file($path), 0, 8);
47
+            $unzipPath = $unpackPath.'/'.pathinfo($path, PATHINFO_FILENAME).'-'.substr(md5_file($path), 0, 8);
48 48
             $zip->extractTo($unzipPath);
49 49
             $zip->close();
50 50
             return Config::resolve($unzipPath.'/module');
Please login to merge, or discard this patch.