Completed
Push — master ( 038c42...a8c5d7 )
by Arne
03:50
created
src/Vault.php 2 patches
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,8 +172,7 @@
 block discarded – undo
172 172
         $this->logger->info(sprintf("Loading %s remote index...", $revision ? "r{$revision}" : 'latest'));
173 173
 
174 174
         $synchronization = $revision ?
175
-            $this->getVaultLayout()->getSynchronization($revision) :
176
-            $this->getVaultLayout()->getLastSynchronization();
175
+            $this->getVaultLayout()->getSynchronization($revision) : $this->getVaultLayout()->getLastSynchronization();
177 176
 
178 177
         return $synchronization ? $synchronization->getIndex() : null;
179 178
     }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -148,8 +148,7 @@  discard block
 block discarded – undo
148 148
                 fclose($stream);
149 149
 
150 150
                 $this->logger->info("Read {$index->count()} records for last local index");
151
-            }
152
-            else
151
+            } else
153 152
             {
154 153
                 $this->logger->info("No last local index exists");
155 154
             }
@@ -239,8 +238,7 @@  discard block
 block discarded – undo
239 238
         {
240 239
             $newRevision = $newRevision ?: ($lastSynchronization->getRevision() + 1);
241 240
             $remoteIndex = $lastSynchronization->getIndex();
242
-        }
243
-        else
241
+        } else
244 242
         {
245 243
             $newRevision = $newRevision ?: 1;
246 244
             $remoteIndex = null;
Please login to merge, or discard this patch.