Completed
Push — master ( 4ce40a...356b5a )
by Pierre
01:36
created
src/Updater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function __destruct()
42 42
     {
43
-        $this->fileManager  = null;
43
+        $this->fileManager = null;
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
src/Interfaces/UpdaterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     const UPDATER_EXT = '.tar.gz';
12 12
     const UPDATERS = [
13 13
         self::ADAPTER_CITY => self::UPDATER_URL . 'City' . self::UPDATER_EXT,
14
-        self::ADAPTER_COUNTRY => self::UPDATER_URL .  'Country' . self::UPDATER_EXT,
14
+        self::ADAPTER_COUNTRY => self::UPDATER_URL . 'Country' . self::UPDATER_EXT,
15 15
         self::ADAPTER_ASN => self::UPDATER_URL . 'ASN' . self::UPDATER_EXT
16 16
     ];
17 17
     const UPDATERS_DB_FILENAME = [
Please login to merge, or discard this patch.
src/FileManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         for ($c = 0; $c < $toDeleteCount; $c++) {
165 165
             $opStatus[] = (int) @unlink($toDelete[$c]);
166 166
         }
167
-        $status = array_reduce($opStatus, function ($car, $ite) {
167
+        $status = array_reduce($opStatus, function($car, $ite) {
168 168
             return $car += $ite;
169 169
         });
170 170
         return ($status > 0);
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
         for ($c = 0; $c < $toDeleteCount; $c++) {
185 185
             $opStatus[] = (int) $this->deleteFolder($toDelete[$c]);
186 186
         }
187
-        $status = array_reduce($opStatus, function ($car, $ite) {
187
+        $status = array_reduce($opStatus, function($car, $ite) {
188 188
             return $car += $ite;
189 189
         });
190 190
         return ($status > 0);
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
             }
212 212
         }
213 213
         $opStatus[] = (int) @rmdir($path);
214
-        $status = array_reduce($opStatus, function ($car, $ite) {
214
+        $status = array_reduce($opStatus, function($car, $ite) {
215 215
             return $car += $ite;
216 216
         });
217 217
         return $status;
Please login to merge, or discard this patch.