Completed
Pull Request — master (#51)
by
unknown
01:35
created
src/Datapackages/BaseDatapackage.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
         }
205 205
         $packageCopy->saveDescriptor($files['datapackage.json']);
206 206
 
207
-        register_shutdown_function(function () use ($base) {
207
+        register_shutdown_function(function() use ($base) {
208 208
             Utils::removeDir($base);
209 209
         });
210 210
         if ($zip->open($zip_filename, ZipArchive::CREATE | ZipArchive::OVERWRITE) === true) {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,9 @@
 block discarded – undo
192 192
         ];
193 193
         $ri = 0;
194 194
         foreach ($packageCopy as $resource) {
195
-            if ($resource->isRemote()) continue;
195
+            if ($resource->isRemote()) {
196
+                continue;
197
+            }
196 198
 
197 199
             $resourceFiles = [];
198 200
             $fileNames = $resource->save($base.'resource-'.$ri);
Please login to merge, or discard this patch.