Completed
Push — master ( 7094c1...7c73de )
by Filippo
10:45 queued 07:35
created
src/EoC/CLI/Command/CompactCommand.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,10 +43,11 @@
 block discarded – undo
43 43
   protected function execute(InputInterface $input, OutputInterface $output) {
44 44
     $couch = $this->getConnection();
45 45
 
46
-    if ($designDoc = $input->getOption('design-doc'))
47
-      $couch->compactView($this->getDatabase(), $designDoc);
48
-    else
49
-      $couch->compactDb($this->getDatabase());
46
+    if ($designDoc = $input->getOption('design-doc')) {
47
+          $couch->compactView($this->getDatabase(), $designDoc);
48
+    } else {
49
+          $couch->compactDb($this->getDatabase());
50
+    }
50 51
   }
51 52
 
52 53
 }
53 54
\ No newline at end of file
Please login to merge, or discard this patch.